7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codedeploy/model/Tag.h>
51 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
65 inline void SetIamSessionArn(
const char* value) { m_iamSessionArnHasBeenSet =
true; m_iamSessionArn.assign(value); }
79 inline void SetIamUserArn(
const char* value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn.assign(value); }
93 inline void SetInstanceArn(
const char* value) { m_instanceArnHasBeenSet =
true; m_instanceArn.assign(value); }
140 bool m_instanceNameHasBeenSet =
false;
143 bool m_iamSessionArnHasBeenSet =
false;
146 bool m_iamUserArnHasBeenSet =
false;
149 bool m_instanceArnHasBeenSet =
false;
152 bool m_registerTimeHasBeenSet =
false;
155 bool m_deregisterTimeHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
void SetIamSessionArn(const Aws::String &value)
bool RegisterTimeHasBeenSet() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceInfo & WithInstanceArn(const char *value)
InstanceInfo & WithInstanceName(const Aws::String &value)
bool InstanceNameHasBeenSet() const
InstanceInfo & WithIamSessionArn(Aws::String &&value)
AWS_CODEDEPLOY_API InstanceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceArn(const Aws::String &value)
const Aws::String & GetIamUserArn() const
InstanceInfo & WithTags(const Aws::Vector< Tag > &value)
AWS_CODEDEPLOY_API InstanceInfo(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceName(Aws::String &&value)
bool IamSessionArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetInstanceArn(const char *value)
InstanceInfo & WithInstanceName(const char *value)
InstanceInfo & WithTags(Aws::Vector< Tag > &&value)
bool IamUserArnHasBeenSet() const
InstanceInfo & WithIamUserArn(const Aws::String &value)
void SetDeregisterTime(const Aws::Utils::DateTime &value)
const Aws::String & GetIamSessionArn() const
void SetTags(Aws::Vector< Tag > &&value)
InstanceInfo & WithRegisterTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDeregisterTime() const
void SetIamSessionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetRegisterTime() const
const Aws::String & GetInstanceArn() const
void SetTags(const Aws::Vector< Tag > &value)
void SetInstanceName(const Aws::String &value)
void SetRegisterTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetTags() const
void SetIamUserArn(Aws::String &&value)
void SetRegisterTime(Aws::Utils::DateTime &&value)
void SetInstanceArn(Aws::String &&value)
void SetIamUserArn(const Aws::String &value)
InstanceInfo & WithRegisterTime(const Aws::Utils::DateTime &value)
void SetIamUserArn(const char *value)
InstanceInfo & WithIamUserArn(const char *value)
InstanceInfo & WithIamUserArn(Aws::String &&value)
void SetInstanceName(const char *value)
void SetIamSessionArn(const char *value)
InstanceInfo & WithDeregisterTime(const Aws::Utils::DateTime &value)
bool InstanceArnHasBeenSet() const
InstanceInfo & AddTags(const Tag &value)
InstanceInfo & WithInstanceArn(const Aws::String &value)
AWS_CODEDEPLOY_API InstanceInfo()
InstanceInfo & WithIamSessionArn(const Aws::String &value)
InstanceInfo & WithDeregisterTime(Aws::Utils::DateTime &&value)
InstanceInfo & WithIamSessionArn(const char *value)
const Aws::String & GetInstanceName() const
bool DeregisterTimeHasBeenSet() const
InstanceInfo & WithInstanceName(Aws::String &&value)
InstanceInfo & WithInstanceArn(Aws::String &&value)
void SetDeregisterTime(Aws::Utils::DateTime &&value)
InstanceInfo & AddTags(Tag &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue