AWS SDK for C++  1.9.110
AWS SDK for C++
SupportedOperation.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 Redshift
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetOperationName() const{ return m_operationName; }
47 
51  inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
52 
56  inline void SetOperationName(const Aws::String& value) { m_operationNameHasBeenSet = true; m_operationName = value; }
57 
61  inline void SetOperationName(Aws::String&& value) { m_operationNameHasBeenSet = true; m_operationName = std::move(value); }
62 
66  inline void SetOperationName(const char* value) { m_operationNameHasBeenSet = true; m_operationName.assign(value); }
67 
71  inline SupportedOperation& WithOperationName(const Aws::String& value) { SetOperationName(value); return *this;}
72 
76  inline SupportedOperation& WithOperationName(Aws::String&& value) { SetOperationName(std::move(value)); return *this;}
77 
81  inline SupportedOperation& WithOperationName(const char* value) { SetOperationName(value); return *this;}
82 
83  private:
84 
85  Aws::String m_operationName;
86  bool m_operationNameHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Redshift
91 } // namespace Aws
Aws::Redshift::Model::SupportedOperation::SetOperationName
void SetOperationName(const Aws::String &value)
Definition: SupportedOperation.h:56
Aws::Redshift::Model::SupportedOperation::SetOperationName
void SetOperationName(const char *value)
Definition: SupportedOperation.h:66
Aws::Redshift::Model::SupportedOperation::WithOperationName
SupportedOperation & WithOperationName(Aws::String &&value)
Definition: SupportedOperation.h:76
Aws::Redshift::Model::SupportedOperation::SupportedOperation
SupportedOperation()
AWSStreamFwd.h
Aws::Redshift::Model::SupportedOperation
Definition: SupportedOperation.h:33
Aws::Redshift::Model::SupportedOperation::operator=
SupportedOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::SupportedOperation::WithOperationName
SupportedOperation & WithOperationName(const Aws::String &value)
Definition: SupportedOperation.h:71
Aws::Redshift::Model::SupportedOperation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::SupportedOperation::OperationNameHasBeenSet
bool OperationNameHasBeenSet() const
Definition: SupportedOperation.h:51
Aws::Redshift::Model::SupportedOperation::WithOperationName
SupportedOperation & WithOperationName(const char *value)
Definition: SupportedOperation.h:81
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::SupportedOperation::GetOperationName
const Aws::String & GetOperationName() const
Definition: SupportedOperation.h:46
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::SupportedOperation::SupportedOperation
SupportedOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::SupportedOperation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::SupportedOperation::SetOperationName
void SetOperationName(Aws::String &&value)
Definition: SupportedOperation.h:61