7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IamInstanceProfile.h>
12#include <aws/ec2/model/IamInstanceProfileAssociationState.h>
46 template <
typename AssociationIdT = Aws::String>
48 m_associationIdHasBeenSet =
true;
49 m_associationId = std::forward<AssociationIdT>(value);
51 template <
typename AssociationIdT = Aws::String>
64 template <
typename InstanceIdT = Aws::String>
66 m_instanceIdHasBeenSet =
true;
67 m_instanceId = std::forward<InstanceIdT>(value);
69 template <
typename InstanceIdT = Aws::String>
82 template <
typename IamInstanceProfileT = IamInstanceProfile>
84 m_iamInstanceProfileHasBeenSet =
true;
85 m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value);
87 template <
typename IamInstanceProfileT = IamInstanceProfile>
101 m_stateHasBeenSet =
true;
116 template <
typename TimestampT = Aws::Utils::DateTime>
118 m_timestampHasBeenSet =
true;
119 m_timestamp = std::forward<TimestampT>(value);
121 template <
typename TimestampT = Aws::Utils::DateTime>
137 bool m_associationIdHasBeenSet =
false;
138 bool m_instanceIdHasBeenSet =
false;
139 bool m_iamInstanceProfileHasBeenSet =
false;
140 bool m_stateHasBeenSet =
false;
141 bool m_timestampHasBeenSet =
false;
bool TimestampHasBeenSet() const
bool AssociationIdHasBeenSet() const
IamInstanceProfileAssociationState GetState() const
IamInstanceProfileAssociation & WithIamInstanceProfile(IamInstanceProfileT &&value)
void SetAssociationId(AssociationIdT &&value)
AWS_EC2_API IamInstanceProfileAssociation()=default
bool IamInstanceProfileHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API IamInstanceProfileAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
void SetState(IamInstanceProfileAssociationState value)
void SetTimestamp(TimestampT &&value)
void SetIamInstanceProfile(IamInstanceProfileT &&value)
bool InstanceIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetTimestamp() const
IamInstanceProfileAssociation & WithInstanceId(InstanceIdT &&value)
IamInstanceProfileAssociation & WithTimestamp(TimestampT &&value)
IamInstanceProfileAssociation & WithState(IamInstanceProfileAssociationState value)
const IamInstanceProfile & GetIamInstanceProfile() const
AWS_EC2_API IamInstanceProfileAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAssociationId() const
IamInstanceProfileAssociation & WithAssociationId(AssociationIdT &&value)
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