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>
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 bool m_arnHasBeenSet =
false;
75 bool m_idHasBeenSet =
false;
IamInstanceProfile & WithId(const char *value)
void SetArn(const char *value)
void SetId(const Aws::String &value)
void SetId(const char *value)
bool ArnHasBeenSet() const
IamInstanceProfile & WithId(Aws::String &&value)
const Aws::String & GetId() const
IamInstanceProfile & WithArn(const char *value)
AWS_EC2_API IamInstanceProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetArn() const
AWS_EC2_API IamInstanceProfile()
bool IdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IamInstanceProfile & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
AWS_EC2_API IamInstanceProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IamInstanceProfile & WithArn(Aws::String &&value)
void SetId(Aws::String &&value)
IamInstanceProfile & WithId(const Aws::String &value)
void SetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream