7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgentRequest.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/AgentSpacePreferenceKey.h>
12#include <aws/devops-agent/model/AwsSourceMode.h>
17namespace DevOpsAgent {
44 template <
typename AgentSpaceIdT = Aws::String>
46 m_agentSpaceIdHasBeenSet =
true;
47 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
49 template <
typename AgentSpaceIdT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
99 template <
typename LocaleT = Aws::String>
101 m_localeHasBeenSet =
true;
102 m_locale = std::forward<LocaleT>(value);
104 template <
typename LocaleT = Aws::String>
119 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
121 m_preferencesHasBeenSet =
true;
122 m_preferences = std::forward<PreferencesT>(value);
124 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
130 m_preferencesHasBeenSet =
true;
131 m_preferences.emplace(key, value);
146 m_awsSourceModeHasBeenSet =
true;
147 m_awsSourceMode = value;
166 bool m_agentSpaceIdHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
169 bool m_localeHasBeenSet =
false;
170 bool m_preferencesHasBeenSet =
false;
171 bool m_awsSourceModeHasBeenSet =
false;
const Aws::String & GetName() const
UpdateAgentSpaceRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool AwsSourceModeHasBeenSet() const
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
void SetAgentSpaceId(AgentSpaceIdT &&value)
UpdateAgentSpaceRequest & WithName(NameT &&value)
void SetName(NameT &&value)
bool AgentSpaceIdHasBeenSet() const
UpdateAgentSpaceRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdateAgentSpaceRequest & AddPreferences(AgentSpacePreferenceKey key, bool value)
AWS_DEVOPSAGENT_API UpdateAgentSpaceRequest()=default
bool NameHasBeenSet() const
bool LocaleHasBeenSet() const
bool PreferencesHasBeenSet() const
void SetAwsSourceMode(AwsSourceMode value)
bool DescriptionHasBeenSet() const
void SetPreferences(PreferencesT &&value)
UpdateAgentSpaceRequest & WithPreferences(PreferencesT &&value)
void SetLocale(LocaleT &&value)
AwsSourceMode GetAwsSourceMode() const
const Aws::String & GetLocale() const
UpdateAgentSpaceRequest & WithAwsSourceMode(AwsSourceMode value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
const Aws::Map< AgentSpacePreferenceKey, bool > & GetPreferences() const
const Aws::String & GetAgentSpaceId() const
UpdateAgentSpaceRequest & WithLocale(LocaleT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String