AWS SDK for C++  1.9.159
AWS SDK for C++
AdjustmentType.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 AutoScaling
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 
47  inline const Aws::String& GetAdjustmentType() const{ return m_adjustmentType; }
48 
54  inline bool AdjustmentTypeHasBeenSet() const { return m_adjustmentTypeHasBeenSet; }
55 
61  inline void SetAdjustmentType(const Aws::String& value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType = value; }
62 
68  inline void SetAdjustmentType(Aws::String&& value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType = std::move(value); }
69 
75  inline void SetAdjustmentType(const char* value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType.assign(value); }
76 
82  inline AdjustmentType& WithAdjustmentType(const Aws::String& value) { SetAdjustmentType(value); return *this;}
83 
89  inline AdjustmentType& WithAdjustmentType(Aws::String&& value) { SetAdjustmentType(std::move(value)); return *this;}
90 
96  inline AdjustmentType& WithAdjustmentType(const char* value) { SetAdjustmentType(value); return *this;}
97 
98  private:
99 
100  Aws::String m_adjustmentType;
101  bool m_adjustmentTypeHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace AutoScaling
106 } // namespace Aws
Aws::AutoScaling::Model::AdjustmentType::WithAdjustmentType
AdjustmentType & WithAdjustmentType(Aws::String &&value)
Definition: AdjustmentType.h:89
Aws::AutoScaling::Model::AdjustmentType::SetAdjustmentType
void SetAdjustmentType(const Aws::String &value)
Definition: AdjustmentType.h:61
Aws::AutoScaling::Model::AdjustmentType::AdjustmentTypeHasBeenSet
bool AdjustmentTypeHasBeenSet() const
Definition: AdjustmentType.h:54
Aws::AutoScaling::Model::AdjustmentType
Definition: AdjustmentType.h:32
Aws::AutoScaling::Model::AdjustmentType::SetAdjustmentType
void SetAdjustmentType(Aws::String &&value)
Definition: AdjustmentType.h:68
AWSStreamFwd.h
Aws::AutoScaling::Model::AdjustmentType::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::AdjustmentType::SetAdjustmentType
void SetAdjustmentType(const char *value)
Definition: AdjustmentType.h:75
AWSString.h
Aws::AutoScaling::Model::AdjustmentType::AdjustmentType
AdjustmentType(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::AdjustmentType::GetAdjustmentType
const Aws::String & GetAdjustmentType() const
Definition: AdjustmentType.h:47
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::AdjustmentType::operator=
AdjustmentType & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::AdjustmentType::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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::AutoScaling::Model::AdjustmentType::WithAdjustmentType
AdjustmentType & WithAdjustmentType(const char *value)
Definition: AdjustmentType.h:96
Aws::AutoScaling::Model::AdjustmentType::WithAdjustmentType
AdjustmentType & WithAdjustmentType(const Aws::String &value)
Definition: AdjustmentType.h:82
Aws::AutoScaling::Model::AdjustmentType::AdjustmentType
AdjustmentType()