AWS SDK for C++  1.9.108
AWS SDK for C++
OrganizationNode.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 Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceCatalog
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const OrganizationNodeType& GetType() const{ return m_type; }
45 
49  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 
54  inline void SetType(const OrganizationNodeType& value) { m_typeHasBeenSet = true; m_type = value; }
55 
59  inline void SetType(OrganizationNodeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
60 
64  inline OrganizationNode& WithType(const OrganizationNodeType& value) { SetType(value); return *this;}
65 
69  inline OrganizationNode& WithType(OrganizationNodeType&& value) { SetType(std::move(value)); return *this;}
70 
71 
75  inline const Aws::String& GetValue() const{ return m_value; }
76 
80  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
81 
85  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
86 
90  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
91 
95  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
96 
100  inline OrganizationNode& WithValue(const Aws::String& value) { SetValue(value); return *this;}
101 
105  inline OrganizationNode& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
106 
110  inline OrganizationNode& WithValue(const char* value) { SetValue(value); return *this;}
111 
112  private:
113 
114  OrganizationNodeType m_type;
115  bool m_typeHasBeenSet;
116 
117  Aws::String m_value;
118  bool m_valueHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace ServiceCatalog
123 } // namespace Aws
Aws::ServiceCatalog::Model::OrganizationNode::SetValue
void SetValue(const char *value)
Definition: OrganizationNode.h:95
Aws::ServiceCatalog::Model::OrganizationNode::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
OrganizationNodeType.h
Aws::ServiceCatalog::Model::OrganizationNode::SetType
void SetType(OrganizationNodeType &&value)
Definition: OrganizationNode.h:59
Aws::ServiceCatalog::Model::OrganizationNode::SetValue
void SetValue(Aws::String &&value)
Definition: OrganizationNode.h:90
Aws::ServiceCatalog::Model::OrganizationNode::operator=
OrganizationNode & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::OrganizationNode::OrganizationNode
OrganizationNode(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::OrganizationNode::WithValue
OrganizationNode & WithValue(const Aws::String &value)
Definition: OrganizationNode.h:100
Aws::ServiceCatalog::Model::OrganizationNode::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: OrganizationNode.h:49
Aws::ServiceCatalog::Model::OrganizationNode::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: OrganizationNode.h:80
Aws::ServiceCatalog::Model::OrganizationNode::GetType
const OrganizationNodeType & GetType() const
Definition: OrganizationNode.h:44
Aws::ServiceCatalog::Model::OrganizationNode::SetValue
void SetValue(const Aws::String &value)
Definition: OrganizationNode.h:85
Aws::ServiceCatalog::Model::OrganizationNode::WithType
OrganizationNode & WithType(const OrganizationNodeType &value)
Definition: OrganizationNode.h:64
Aws::ServiceCatalog::Model::OrganizationNode::WithType
OrganizationNode & WithType(OrganizationNodeType &&value)
Definition: OrganizationNode.h:69
Aws::ServiceCatalog::Model::OrganizationNode::WithValue
OrganizationNode & WithValue(const char *value)
Definition: OrganizationNode.h:110
Aws::ServiceCatalog::Model::OrganizationNode::WithValue
OrganizationNode & WithValue(Aws::String &&value)
Definition: OrganizationNode.h:105
Aws::ServiceCatalog::Model::OrganizationNode::SetType
void SetType(const OrganizationNodeType &value)
Definition: OrganizationNode.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::OrganizationNode::GetValue
const Aws::String & GetValue() const
Definition: OrganizationNode.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::OrganizationNode
Definition: OrganizationNode.h:33
Aws::ServiceCatalog::Model::OrganizationNodeType
OrganizationNodeType
Definition: OrganizationNodeType.h:17
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::OrganizationNode::OrganizationNode
OrganizationNode()