AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateAgentSpaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DevOpsAgent {
15namespace Model {
16
24 public:
25 AWS_DEVOPSAGENT_API UpdateAgentSpaceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentSpace"; }
32
33 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
40 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
41 template <typename AgentSpaceIdT = Aws::String>
42 void SetAgentSpaceId(AgentSpaceIdT&& value) {
43 m_agentSpaceIdHasBeenSet = true;
44 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
45 }
46 template <typename AgentSpaceIdT = Aws::String>
47 UpdateAgentSpaceRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
48 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetLocale() const { return m_locale; }
95 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
96 template <typename LocaleT = Aws::String>
97 void SetLocale(LocaleT&& value) {
98 m_localeHasBeenSet = true;
99 m_locale = std::forward<LocaleT>(value);
100 }
101 template <typename LocaleT = Aws::String>
103 SetLocale(std::forward<LocaleT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_agentSpaceId;
109
110 Aws::String m_name;
111
112 Aws::String m_description;
113
114 Aws::String m_locale;
115 bool m_agentSpaceIdHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_localeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace DevOpsAgent
123} // namespace Aws
UpdateAgentSpaceRequest & WithDescription(DescriptionT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
UpdateAgentSpaceRequest & WithName(NameT &&value)
UpdateAgentSpaceRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
AWS_DEVOPSAGENT_API UpdateAgentSpaceRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateAgentSpaceRequest & WithLocale(LocaleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String