AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubDomainSetting.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Amplify
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AMPLIFY_API SubDomainSetting();
35 AWS_AMPLIFY_API SubDomainSetting(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetPrefix() const{ return m_prefix; }
45 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
46 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
47 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
48 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
49 inline SubDomainSetting& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
50 inline SubDomainSetting& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
51 inline SubDomainSetting& WithPrefix(const char* value) { SetPrefix(value); return *this;}
53
55
58 inline const Aws::String& GetBranchName() const{ return m_branchName; }
59 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
60 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
61 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
62 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
63 inline SubDomainSetting& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
64 inline SubDomainSetting& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
65 inline SubDomainSetting& WithBranchName(const char* value) { SetBranchName(value); return *this;}
67 private:
68
69 Aws::String m_prefix;
70 bool m_prefixHasBeenSet = false;
71
72 Aws::String m_branchName;
73 bool m_branchNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Amplify
78} // namespace Aws
SubDomainSetting & WithPrefix(const Aws::String &value)
AWS_AMPLIFY_API SubDomainSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(Aws::String &&value)
void SetBranchName(const Aws::String &value)
SubDomainSetting & WithBranchName(const Aws::String &value)
SubDomainSetting & WithBranchName(Aws::String &&value)
SubDomainSetting & WithPrefix(const char *value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
SubDomainSetting & WithBranchName(const char *value)
const Aws::String & GetPrefix() const
SubDomainSetting & WithPrefix(Aws::String &&value)
AWS_AMPLIFY_API SubDomainSetting(Aws::Utils::Json::JsonView jsonValue)
void SetBranchName(Aws::String &&value)
const Aws::String & GetBranchName() const
void SetPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue