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>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 bool m_arnHasBeenSet =
false;
76 bool m_nameHasBeenSet =
false;
AWS_EC2_API ScheduledInstancesIamInstanceProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstancesIamInstanceProfile & WithArn(Aws::String &&value)
const Aws::String & GetName() const
ScheduledInstancesIamInstanceProfile & WithArn(const char *value)
ScheduledInstancesIamInstanceProfile & WithName(Aws::String &&value)
void SetArn(const char *value)
bool NameHasBeenSet() const
ScheduledInstancesIamInstanceProfile & WithArn(const Aws::String &value)
bool ArnHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ScheduledInstancesIamInstanceProfile()
void SetName(Aws::String &&value)
ScheduledInstancesIamInstanceProfile & WithName(const char *value)
AWS_EC2_API ScheduledInstancesIamInstanceProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const Aws::String &value)
void SetArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetName(const char *value)
ScheduledInstancesIamInstanceProfile & WithName(const Aws::String &value)
const Aws::String & GetArn() const
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