AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnvironmentAccountConnectionRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Proton
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnvironmentAccountConnection"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetCodebuildRoleArn() const{ return m_codebuildRoleArn; }
44 inline bool CodebuildRoleArnHasBeenSet() const { return m_codebuildRoleArnHasBeenSet; }
45 inline void SetCodebuildRoleArn(const Aws::String& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = value; }
46 inline void SetCodebuildRoleArn(Aws::String&& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = std::move(value); }
47 inline void SetCodebuildRoleArn(const char* value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn.assign(value); }
52
54
65 inline const Aws::String& GetComponentRoleArn() const{ return m_componentRoleArn; }
66 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
67 inline void SetComponentRoleArn(const Aws::String& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = value; }
68 inline void SetComponentRoleArn(Aws::String&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::move(value); }
69 inline void SetComponentRoleArn(const char* value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn.assign(value); }
74
76
79 inline const Aws::String& GetId() const{ return m_id; }
80 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
82 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
83 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
84 inline UpdateEnvironmentAccountConnectionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
85 inline UpdateEnvironmentAccountConnectionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
86 inline UpdateEnvironmentAccountConnectionRequest& WithId(const char* value) { SetId(value); return *this;}
88
90
94 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
95 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
96 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
97 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
98 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
99 inline UpdateEnvironmentAccountConnectionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
100 inline UpdateEnvironmentAccountConnectionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
101 inline UpdateEnvironmentAccountConnectionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
103 private:
104
105 Aws::String m_codebuildRoleArn;
106 bool m_codebuildRoleArnHasBeenSet = false;
107
108 Aws::String m_componentRoleArn;
109 bool m_componentRoleArnHasBeenSet = false;
110
111 Aws::String m_id;
112 bool m_idHasBeenSet = false;
113
114 Aws::String m_roleArn;
115 bool m_roleArnHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Proton
120} // namespace Aws
UpdateEnvironmentAccountConnectionRequest & WithComponentRoleArn(Aws::String &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEnvironmentAccountConnectionRequest & WithRoleArn(const char *value)
UpdateEnvironmentAccountConnectionRequest & WithComponentRoleArn(const Aws::String &value)
UpdateEnvironmentAccountConnectionRequest & WithId(const char *value)
UpdateEnvironmentAccountConnectionRequest & WithComponentRoleArn(const char *value)
UpdateEnvironmentAccountConnectionRequest & WithRoleArn(const Aws::String &value)
UpdateEnvironmentAccountConnectionRequest & WithId(Aws::String &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(const char *value)
UpdateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(Aws::String &&value)
UpdateEnvironmentAccountConnectionRequest & WithId(const Aws::String &value)
UpdateEnvironmentAccountConnectionRequest & WithRoleArn(Aws::String &&value)
UpdateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String