AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountSettings.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/model/RepositoryBranch.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Proton
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PROTON_API AccountSettings();
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetPipelineCodebuildRoleArn() const{ return m_pipelineCodebuildRoleArn; }
49 inline bool PipelineCodebuildRoleArnHasBeenSet() const { return m_pipelineCodebuildRoleArnHasBeenSet; }
50 inline void SetPipelineCodebuildRoleArn(const Aws::String& value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn = value; }
51 inline void SetPipelineCodebuildRoleArn(Aws::String&& value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn = std::move(value); }
52 inline void SetPipelineCodebuildRoleArn(const char* value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn.assign(value); }
54 inline AccountSettings& WithPipelineCodebuildRoleArn(Aws::String&& value) { SetPipelineCodebuildRoleArn(std::move(value)); return *this;}
55 inline AccountSettings& WithPipelineCodebuildRoleArn(const char* value) { SetPipelineCodebuildRoleArn(value); return *this;}
57
59
65 inline const RepositoryBranch& GetPipelineProvisioningRepository() const{ return m_pipelineProvisioningRepository; }
66 inline bool PipelineProvisioningRepositoryHasBeenSet() const { return m_pipelineProvisioningRepositoryHasBeenSet; }
67 inline void SetPipelineProvisioningRepository(const RepositoryBranch& value) { m_pipelineProvisioningRepositoryHasBeenSet = true; m_pipelineProvisioningRepository = value; }
68 inline void SetPipelineProvisioningRepository(RepositoryBranch&& value) { m_pipelineProvisioningRepositoryHasBeenSet = true; m_pipelineProvisioningRepository = std::move(value); }
72
74
80 inline const Aws::String& GetPipelineServiceRoleArn() const{ return m_pipelineServiceRoleArn; }
81 inline bool PipelineServiceRoleArnHasBeenSet() const { return m_pipelineServiceRoleArnHasBeenSet; }
82 inline void SetPipelineServiceRoleArn(const Aws::String& value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn = value; }
83 inline void SetPipelineServiceRoleArn(Aws::String&& value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn = std::move(value); }
84 inline void SetPipelineServiceRoleArn(const char* value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn.assign(value); }
86 inline AccountSettings& WithPipelineServiceRoleArn(Aws::String&& value) { SetPipelineServiceRoleArn(std::move(value)); return *this;}
87 inline AccountSettings& WithPipelineServiceRoleArn(const char* value) { SetPipelineServiceRoleArn(value); return *this;}
89 private:
90
91 Aws::String m_pipelineCodebuildRoleArn;
92 bool m_pipelineCodebuildRoleArnHasBeenSet = false;
93
94 RepositoryBranch m_pipelineProvisioningRepository;
95 bool m_pipelineProvisioningRepositoryHasBeenSet = false;
96
97 Aws::String m_pipelineServiceRoleArn;
98 bool m_pipelineServiceRoleArnHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Proton
103} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPipelineCodebuildRoleArn(Aws::String &&value)
const Aws::String & GetPipelineServiceRoleArn() const
void SetPipelineProvisioningRepository(RepositoryBranch &&value)
AccountSettings & WithPipelineCodebuildRoleArn(Aws::String &&value)
void SetPipelineProvisioningRepository(const RepositoryBranch &value)
const Aws::String & GetPipelineCodebuildRoleArn() const
const RepositoryBranch & GetPipelineProvisioningRepository() const
AccountSettings & WithPipelineServiceRoleArn(Aws::String &&value)
void SetPipelineCodebuildRoleArn(const char *value)
void SetPipelineServiceRoleArn(const Aws::String &value)
AWS_PROTON_API AccountSettings(Aws::Utils::Json::JsonView jsonValue)
void SetPipelineCodebuildRoleArn(const Aws::String &value)
void SetPipelineServiceRoleArn(const char *value)
void SetPipelineServiceRoleArn(Aws::String &&value)
AccountSettings & WithPipelineProvisioningRepository(const RepositoryBranch &value)
AccountSettings & WithPipelineCodebuildRoleArn(const Aws::String &value)
AccountSettings & WithPipelineCodebuildRoleArn(const char *value)
AccountSettings & WithPipelineProvisioningRepository(RepositoryBranch &&value)
AccountSettings & WithPipelineServiceRoleArn(const Aws::String &value)
AccountSettings & WithPipelineServiceRoleArn(const char *value)
AWS_PROTON_API AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue