AWS SDK for C++  1.9.175
AWS SDK for C++
Builder.h
Go to the documentation of this file.
1 
6 #pragma once
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 ElasticBeanstalk
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& GetARN() const{ return m_aRN; }
46 
50  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
51 
55  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
56 
60  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
61 
65  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
66 
70  inline Builder& WithARN(const Aws::String& value) { SetARN(value); return *this;}
71 
75  inline Builder& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
76 
80  inline Builder& WithARN(const char* value) { SetARN(value); return *this;}
81 
82  private:
83 
84  Aws::String m_aRN;
85  bool m_aRNHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace ElasticBeanstalk
90 } // namespace Aws
Aws::ElasticBeanstalk::Model::Builder::Builder
Builder()
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::Builder::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: Builder.h:50
Aws::ElasticBeanstalk::Model::Builder::WithARN
Builder & WithARN(Aws::String &&value)
Definition: Builder.h:75
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::Builder::SetARN
void SetARN(const char *value)
Definition: Builder.h:65
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::Builder::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::Builder
Definition: Builder.h:32
Aws::ElasticBeanstalk::Model::Builder::SetARN
void SetARN(const Aws::String &value)
Definition: Builder.h:55
Aws::ElasticBeanstalk::Model::Builder::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::Builder::Builder
Builder(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::Builder::SetARN
void SetARN(Aws::String &&value)
Definition: Builder.h:60
Aws::ElasticBeanstalk::Model::Builder::operator=
Builder & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::ElasticBeanstalk::Model::Builder::WithARN
Builder & WithARN(const Aws::String &value)
Definition: Builder.h:70
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::Builder::GetARN
const Aws::String & GetARN() const
Definition: Builder.h:45
Aws
Definition: AccessManagementClient.h:15
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
Aws::ElasticBeanstalk::Model::Builder::WithARN
Builder & WithARN(const char *value)
Definition: Builder.h:80