AWS SDK for C++  1.9.157
AWS SDK for C++
SubDomainSetting.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 Amplify
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetPrefix() const{ return m_prefix; }
44 
48  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
49 
53  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
54 
58  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
59 
63  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
64 
68  inline SubDomainSetting& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
69 
73  inline SubDomainSetting& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
74 
78  inline SubDomainSetting& WithPrefix(const char* value) { SetPrefix(value); return *this;}
79 
80 
84  inline const Aws::String& GetBranchName() const{ return m_branchName; }
85 
89  inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
90 
94  inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
95 
99  inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
100 
104  inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
105 
109  inline SubDomainSetting& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
110 
114  inline SubDomainSetting& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
115 
119  inline SubDomainSetting& WithBranchName(const char* value) { SetBranchName(value); return *this;}
120 
121  private:
122 
123  Aws::String m_prefix;
124  bool m_prefixHasBeenSet;
125 
126  Aws::String m_branchName;
127  bool m_branchNameHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Amplify
132 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::SubDomainSetting::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: SubDomainSetting.h:53
Aws::Amplify::Model::SubDomainSetting::WithBranchName
SubDomainSetting & WithBranchName(const Aws::String &value)
Definition: SubDomainSetting.h:109
Aws::Amplify::Model::SubDomainSetting::SetBranchName
void SetBranchName(const Aws::String &value)
Definition: SubDomainSetting.h:94
Aws::Amplify::Model::SubDomainSetting::SetPrefix
void SetPrefix(const char *value)
Definition: SubDomainSetting.h:63
Aws::Amplify::Model::SubDomainSetting::GetBranchName
const Aws::String & GetBranchName() const
Definition: SubDomainSetting.h:84
Aws::Amplify::Model::SubDomainSetting::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: SubDomainSetting.h:58
Aws::Amplify::Model::SubDomainSetting::SubDomainSetting
SubDomainSetting(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::SubDomainSetting::BranchNameHasBeenSet
bool BranchNameHasBeenSet() const
Definition: SubDomainSetting.h:89
Aws::Amplify::Model::SubDomainSetting::GetPrefix
const Aws::String & GetPrefix() const
Definition: SubDomainSetting.h:43
Aws::Amplify::Model::SubDomainSetting::SetBranchName
void SetBranchName(const char *value)
Definition: SubDomainSetting.h:104
Aws::Amplify::Model::SubDomainSetting::operator=
SubDomainSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::SubDomainSetting::WithPrefix
SubDomainSetting & WithPrefix(const char *value)
Definition: SubDomainSetting.h:78
Aws::Amplify::Model::SubDomainSetting
Definition: SubDomainSetting.h:32
Aws::Amplify::Model::SubDomainSetting::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: SubDomainSetting.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Amplify::Model::SubDomainSetting::WithPrefix
SubDomainSetting & WithPrefix(const Aws::String &value)
Definition: SubDomainSetting.h:68
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::SubDomainSetting::WithPrefix
SubDomainSetting & WithPrefix(Aws::String &&value)
Definition: SubDomainSetting.h:73
Aws::Amplify::Model::SubDomainSetting::WithBranchName
SubDomainSetting & WithBranchName(Aws::String &&value)
Definition: SubDomainSetting.h:114
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::SubDomainSetting::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Amplify::Model::SubDomainSetting::WithBranchName
SubDomainSetting & WithBranchName(const char *value)
Definition: SubDomainSetting.h:119
Aws::Amplify::Model::SubDomainSetting::SubDomainSetting
SubDomainSetting()
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::SubDomainSetting::SetBranchName
void SetBranchName(Aws::String &&value)
Definition: SubDomainSetting.h:99