7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IamInstanceProfile.h>
11#include <aws/ec2/model/IamInstanceProfileAssociationState.h>
12#include <aws/core/utils/DateTime.h>
54 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
68 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
112 bool m_associationIdHasBeenSet =
false;
115 bool m_instanceIdHasBeenSet =
false;
118 bool m_iamInstanceProfileHasBeenSet =
false;
121 bool m_stateHasBeenSet =
false;
124 bool m_timestampHasBeenSet =
false;
IamInstanceProfileAssociation & WithState(const IamInstanceProfileAssociationState &value)
void SetAssociationId(const Aws::String &value)
IamInstanceProfileAssociation & WithTimestamp(Aws::Utils::DateTime &&value)
bool TimestampHasBeenSet() const
bool AssociationIdHasBeenSet() const
IamInstanceProfileAssociation & WithInstanceId(Aws::String &&value)
void SetIamInstanceProfile(IamInstanceProfile &&value)
const IamInstanceProfileAssociationState & GetState() const
IamInstanceProfileAssociation & WithInstanceId(const Aws::String &value)
bool IamInstanceProfileHasBeenSet() const
void SetInstanceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAssociationId(Aws::String &&value)
IamInstanceProfileAssociation & WithAssociationId(Aws::String &&value)
AWS_EC2_API IamInstanceProfileAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
void SetIamInstanceProfile(const IamInstanceProfile &value)
IamInstanceProfileAssociation & WithTimestamp(const Aws::Utils::DateTime &value)
IamInstanceProfileAssociation & WithAssociationId(const char *value)
void SetInstanceId(Aws::String &&value)
void SetState(const IamInstanceProfileAssociationState &value)
bool InstanceIdHasBeenSet() const
IamInstanceProfileAssociation & WithInstanceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAssociationId(const char *value)
const Aws::Utils::DateTime & GetTimestamp() const
IamInstanceProfileAssociation & WithIamInstanceProfile(const IamInstanceProfile &value)
IamInstanceProfileAssociation & WithState(IamInstanceProfileAssociationState &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
IamInstanceProfileAssociation & WithAssociationId(const Aws::String &value)
void SetState(IamInstanceProfileAssociationState &&value)
IamInstanceProfileAssociation & WithIamInstanceProfile(IamInstanceProfile &&value)
AWS_EC2_API IamInstanceProfileAssociation()
void SetInstanceId(const Aws::String &value)
const IamInstanceProfile & GetIamInstanceProfile() const
AWS_EC2_API IamInstanceProfileAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAssociationId() const
const Aws::String & GetInstanceId() const
IamInstanceProfileAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream