AWS SDK for C++  1.9.159
AWS SDK for C++
HierarchyLevelUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
63  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 
69  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 
75  inline HierarchyLevelUpdate& WithName(const Aws::String& value) { SetName(value); return *this;}
76 
81  inline HierarchyLevelUpdate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 
87  inline HierarchyLevelUpdate& WithName(const char* value) { SetName(value); return *this;}
88 
89  private:
90 
91  Aws::String m_name;
92  bool m_nameHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace Connect
97 } // namespace Aws
Aws::Connect::Model::HierarchyLevelUpdate::operator=
HierarchyLevelUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyLevelUpdate::WithName
HierarchyLevelUpdate & WithName(const char *value)
Definition: HierarchyLevelUpdate.h:87
Aws::Connect::Model::HierarchyLevelUpdate::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HierarchyLevelUpdate.h:51
Aws::Connect::Model::HierarchyLevelUpdate::SetName
void SetName(Aws::String &&value)
Definition: HierarchyLevelUpdate.h:63
Aws::Connect::Model::HierarchyLevelUpdate::HierarchyLevelUpdate
HierarchyLevelUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyLevelUpdate::SetName
void SetName(const char *value)
Definition: HierarchyLevelUpdate.h:69
Aws::Connect::Model::HierarchyLevelUpdate
Definition: HierarchyLevelUpdate.h:33
Aws::Connect::Model::HierarchyLevelUpdate::HierarchyLevelUpdate
HierarchyLevelUpdate()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HierarchyLevelUpdate::WithName
HierarchyLevelUpdate & WithName(Aws::String &&value)
Definition: HierarchyLevelUpdate.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HierarchyLevelUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HierarchyLevelUpdate::SetName
void SetName(const Aws::String &value)
Definition: HierarchyLevelUpdate.h:57
Aws::Connect::Model::HierarchyLevelUpdate::WithName
HierarchyLevelUpdate & WithName(const Aws::String &value)
Definition: HierarchyLevelUpdate.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::HierarchyLevelUpdate::GetName
const Aws::String & GetName() const
Definition: HierarchyLevelUpdate.h:45
Connect_EXPORTS.h