AWS SDK for C++  1.9.66
AWS SDK for C++
AnalysisComponent.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline AnalysisComponent& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline AnalysisComponent& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline AnalysisComponent& WithId(const char* value) { SetId(value); return *this;}
81 
82 
86  inline const Aws::String& GetArn() const{ return m_arn; }
87 
91  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
92 
96  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
97 
101  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
102 
106  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
107 
111  inline AnalysisComponent& WithArn(const Aws::String& value) { SetArn(value); return *this;}
112 
116  inline AnalysisComponent& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
117 
121  inline AnalysisComponent& WithArn(const char* value) { SetArn(value); return *this;}
122 
123  private:
124 
125  Aws::String m_id;
126  bool m_idHasBeenSet;
127 
128  Aws::String m_arn;
129  bool m_arnHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace EC2
134 } // namespace Aws
Aws::EC2::Model::AnalysisComponent::AnalysisComponent
AnalysisComponent()
Aws::EC2::Model::AnalysisComponent::SetArn
void SetArn(const char *value)
Definition: AnalysisComponent.h:106
Aws::EC2::Model::AnalysisComponent::WithId
AnalysisComponent & WithId(const Aws::String &value)
Definition: AnalysisComponent.h:70
Aws::EC2::Model::AnalysisComponent::WithId
AnalysisComponent & WithId(const char *value)
Definition: AnalysisComponent.h:80
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AnalysisComponent::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSStreamFwd.h
Aws::EC2::Model::AnalysisComponent::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::AnalysisComponent
Definition: AnalysisComponent.h:32
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::AnalysisComponent::WithArn
AnalysisComponent & WithArn(const Aws::String &value)
Definition: AnalysisComponent.h:111
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::AnalysisComponent::SetId
void SetId(Aws::String &&value)
Definition: AnalysisComponent.h:60
Aws::EC2::Model::AnalysisComponent::SetId
void SetId(const char *value)
Definition: AnalysisComponent.h:65
Aws::EC2::Model::AnalysisComponent::SetId
void SetId(const Aws::String &value)
Definition: AnalysisComponent.h:55
Aws::EC2::Model::AnalysisComponent::SetArn
void SetArn(Aws::String &&value)
Definition: AnalysisComponent.h:101
Aws::EC2::Model::AnalysisComponent::WithId
AnalysisComponent & WithId(Aws::String &&value)
Definition: AnalysisComponent.h:75
AWSString.h
Aws::EC2::Model::AnalysisComponent::SetArn
void SetArn(const Aws::String &value)
Definition: AnalysisComponent.h:96
Aws::EC2::Model::AnalysisComponent::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AnalysisComponent.h:91
Aws::EC2::Model::AnalysisComponent::WithArn
AnalysisComponent & WithArn(const char *value)
Definition: AnalysisComponent.h:121
Aws::EC2::Model::AnalysisComponent::GetArn
const Aws::String & GetArn() const
Definition: AnalysisComponent.h:86
Aws::EC2::Model::AnalysisComponent::operator=
AnalysisComponent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::AnalysisComponent::AnalysisComponent
AnalysisComponent(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AnalysisComponent::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AnalysisComponent.h:50
Aws::EC2::Model::AnalysisComponent::WithArn
AnalysisComponent & WithArn(Aws::String &&value)
Definition: AnalysisComponent.h:116
Aws::EC2::Model::AnalysisComponent::GetId
const Aws::String & GetId() const
Definition: AnalysisComponent.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h