7#include <aws/cloud9/Cloud9_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloud9/model/EnvironmentType.h>
10#include <aws/cloud9/model/ConnectionType.h>
11#include <aws/cloud9/model/EnvironmentLifecycle.h>
12#include <aws/cloud9/model/ManagedCredentialsStatus.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
111 template<
typename ArnT = Aws::String>
112 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
113 template<
typename ArnT = Aws::String>
123 template<
typename OwnerArnT = Aws::String>
124 void SetOwnerArn(OwnerArnT&& value) { m_ownerArnHasBeenSet =
true; m_ownerArn = std::forward<OwnerArnT>(value); }
125 template<
typename OwnerArnT = Aws::String>
135 template<
typename LifecycleT = EnvironmentLifecycle>
136 void SetLifecycle(LifecycleT&& value) { m_lifecycleHasBeenSet =
true; m_lifecycle = std::forward<LifecycleT>(value); }
137 template<
typename LifecycleT = EnvironmentLifecycle>
163 bool m_idHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_typeHasBeenSet =
false;
175 bool m_connectionTypeHasBeenSet =
false;
178 bool m_arnHasBeenSet =
false;
181 bool m_ownerArnHasBeenSet =
false;
183 EnvironmentLifecycle m_lifecycle;
184 bool m_lifecycleHasBeenSet =
false;
187 bool m_managedCredentialsStatusHasBeenSet =
false;
bool IdHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
bool LifecycleHasBeenSet() const
Environment & WithType(EnvironmentType value)
bool ArnHasBeenSet() const
Environment & WithId(IdT &&value)
bool ManagedCredentialsStatusHasBeenSet() const
const Aws::String & GetId() const
bool OwnerArnHasBeenSet() const
void SetType(EnvironmentType value)
const Aws::String & GetOwnerArn() const
AWS_CLOUD9_API Environment()=default
Environment & WithConnectionType(ConnectionType value)
Environment & WithName(NameT &&value)
Environment & WithDescription(DescriptionT &&value)
void SetConnectionType(ConnectionType value)
void SetDescription(DescriptionT &&value)
Environment & WithManagedCredentialsStatus(ManagedCredentialsStatus value)
AWS_CLOUD9_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLifecycle(LifecycleT &&value)
AWS_CLOUD9_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
EnvironmentType GetType() const
void SetName(NameT &&value)
AWS_CLOUD9_API Environment(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetManagedCredentialsStatus(ManagedCredentialsStatus value)
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
void SetArn(ArnT &&value)
Environment & WithArn(ArnT &&value)
Environment & WithLifecycle(LifecycleT &&value)
const Aws::String & GetArn() const
ManagedCredentialsStatus GetManagedCredentialsStatus() const
Environment & WithOwnerArn(OwnerArnT &&value)
void SetOwnerArn(OwnerArnT &&value)
const EnvironmentLifecycle & GetLifecycle() const
ConnectionType GetConnectionType() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue