AWS SDK for C++  1.9.103
AWS SDK for C++
CompatibleImage.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Snowball
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetAmiId() const{ return m_amiId; }
47 
51  inline bool AmiIdHasBeenSet() const { return m_amiIdHasBeenSet; }
52 
56  inline void SetAmiId(const Aws::String& value) { m_amiIdHasBeenSet = true; m_amiId = value; }
57 
61  inline void SetAmiId(Aws::String&& value) { m_amiIdHasBeenSet = true; m_amiId = std::move(value); }
62 
66  inline void SetAmiId(const char* value) { m_amiIdHasBeenSet = true; m_amiId.assign(value); }
67 
71  inline CompatibleImage& WithAmiId(const Aws::String& value) { SetAmiId(value); return *this;}
72 
76  inline CompatibleImage& WithAmiId(Aws::String&& value) { SetAmiId(std::move(value)); return *this;}
77 
81  inline CompatibleImage& WithAmiId(const char* value) { SetAmiId(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 
97  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 
102  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
107  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 
112  inline CompatibleImage& WithName(const Aws::String& value) { SetName(value); return *this;}
113 
117  inline CompatibleImage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 
122  inline CompatibleImage& WithName(const char* value) { SetName(value); return *this;}
123 
124  private:
125 
126  Aws::String m_amiId;
127  bool m_amiIdHasBeenSet;
128 
129  Aws::String m_name;
130  bool m_nameHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Snowball
135 } // namespace Aws
Aws::Snowball::Model::CompatibleImage::SetAmiId
void SetAmiId(Aws::String &&value)
Definition: CompatibleImage.h:61
Aws::Snowball::Model::CompatibleImage::SetName
void SetName(const char *value)
Definition: CompatibleImage.h:107
Aws::Snowball::Model::CompatibleImage::SetAmiId
void SetAmiId(const char *value)
Definition: CompatibleImage.h:66
Aws::Snowball::Model::CompatibleImage::SetName
void SetName(Aws::String &&value)
Definition: CompatibleImage.h:102
Aws::Snowball::Model::CompatibleImage::WithName
CompatibleImage & WithName(Aws::String &&value)
Definition: CompatibleImage.h:117
Aws::Snowball::Model::CompatibleImage::WithAmiId
CompatibleImage & WithAmiId(Aws::String &&value)
Definition: CompatibleImage.h:76
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::CompatibleImage::operator=
CompatibleImage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::CompatibleImage::AmiIdHasBeenSet
bool AmiIdHasBeenSet() const
Definition: CompatibleImage.h:51
Aws::Snowball::Model::CompatibleImage::CompatibleImage
CompatibleImage()
Aws::Snowball::Model::CompatibleImage
Definition: CompatibleImage.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::CompatibleImage::WithAmiId
CompatibleImage & WithAmiId(const Aws::String &value)
Definition: CompatibleImage.h:71
Aws::Snowball::Model::CompatibleImage::SetName
void SetName(const Aws::String &value)
Definition: CompatibleImage.h:97
Aws::Snowball::Model::CompatibleImage::WithName
CompatibleImage & WithName(const char *value)
Definition: CompatibleImage.h:122
Aws::Snowball::Model::CompatibleImage::CompatibleImage
CompatibleImage(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::CompatibleImage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CompatibleImage::WithName
CompatibleImage & WithName(const Aws::String &value)
Definition: CompatibleImage.h:112
Aws::Snowball::Model::CompatibleImage::GetName
const Aws::String & GetName() const
Definition: CompatibleImage.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::CompatibleImage::GetAmiId
const Aws::String & GetAmiId() const
Definition: CompatibleImage.h:46
Aws::Snowball::Model::CompatibleImage::SetAmiId
void SetAmiId(const Aws::String &value)
Definition: CompatibleImage.h:56
Aws::Snowball::Model::CompatibleImage::WithAmiId
CompatibleImage & WithAmiId(const char *value)
Definition: CompatibleImage.h:81
Snowball_EXPORTS.h
Aws::Snowball::Model::CompatibleImage::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CompatibleImage.h:92