AWS SDK for C++  1.9.109
AWS SDK for C++
ProcessType.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 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
54  inline const Aws::String& GetProcessName() const{ return m_processName; }
55 
65  inline bool ProcessNameHasBeenSet() const { return m_processNameHasBeenSet; }
66 
76  inline void SetProcessName(const Aws::String& value) { m_processNameHasBeenSet = true; m_processName = value; }
77 
87  inline void SetProcessName(Aws::String&& value) { m_processNameHasBeenSet = true; m_processName = std::move(value); }
88 
98  inline void SetProcessName(const char* value) { m_processNameHasBeenSet = true; m_processName.assign(value); }
99 
109  inline ProcessType& WithProcessName(const Aws::String& value) { SetProcessName(value); return *this;}
110 
120  inline ProcessType& WithProcessName(Aws::String&& value) { SetProcessName(std::move(value)); return *this;}
121 
131  inline ProcessType& WithProcessName(const char* value) { SetProcessName(value); return *this;}
132 
133  private:
134 
135  Aws::String m_processName;
136  bool m_processNameHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace AutoScaling
141 } // namespace Aws
Aws::AutoScaling::Model::ProcessType::SetProcessName
void SetProcessName(const Aws::String &value)
Definition: ProcessType.h:76
Aws::AutoScaling::Model::ProcessType::SetProcessName
void SetProcessName(Aws::String &&value)
Definition: ProcessType.h:87
Aws::AutoScaling::Model::ProcessType::WithProcessName
ProcessType & WithProcessName(const char *value)
Definition: ProcessType.h:131
Aws::AutoScaling::Model::ProcessType::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::AutoScaling::Model::ProcessType::ProcessType
ProcessType()
AWSStreamFwd.h
Aws::AutoScaling::Model::ProcessType
Definition: ProcessType.h:35
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::AutoScaling::Model::ProcessType::ProcessNameHasBeenSet
bool ProcessNameHasBeenSet() const
Definition: ProcessType.h:65
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
AWSString.h
Aws::AutoScaling::Model::ProcessType::WithProcessName
ProcessType & WithProcessName(const Aws::String &value)
Definition: ProcessType.h:109
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::ProcessType::GetProcessName
const Aws::String & GetProcessName() const
Definition: ProcessType.h:54
Aws::AutoScaling::Model::ProcessType::WithProcessName
ProcessType & WithProcessName(Aws::String &&value)
Definition: ProcessType.h:120
Aws::AutoScaling::Model::ProcessType::operator=
ProcessType & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::ProcessType::ProcessType
ProcessType(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::ProcessType::SetProcessName
void SetProcessName(const char *value)
Definition: ProcessType.h:98
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::ProcessType::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const