AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 template<typename CodebuildRoleArnT = Aws::String>
46 void SetCodebuildRoleArn(CodebuildRoleArnT&& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value); }
47 template<typename CodebuildRoleArnT = Aws::String>
48 UpdateEnvironmentAccountConnectionRequest& WithCodebuildRoleArn(CodebuildRoleArnT&& value) { SetCodebuildRoleArn(std::forward<CodebuildRoleArnT>(value)); return *this;}
50
52
63 inline const Aws::String& GetComponentRoleArn() const { return m_componentRoleArn; }
64 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
65 template<typename ComponentRoleArnT = Aws::String>
66 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
67 template<typename ComponentRoleArnT = Aws::String>
68 UpdateEnvironmentAccountConnectionRequest& WithComponentRoleArn(ComponentRoleArnT&& value) { SetComponentRoleArn(std::forward<ComponentRoleArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetId() const { return m_id; }
76 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
77 template<typename IdT = Aws::String>
78 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
79 template<typename IdT = Aws::String>
80 UpdateEnvironmentAccountConnectionRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
82
84
88 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 template<typename RoleArnT = Aws::String>
91 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
92 template<typename RoleArnT = Aws::String>
93 UpdateEnvironmentAccountConnectionRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
95 private:
96
97 Aws::String m_codebuildRoleArn;
98 bool m_codebuildRoleArnHasBeenSet = false;
99
100 Aws::String m_componentRoleArn;
101 bool m_componentRoleArnHasBeenSet = false;
102
103 Aws::String m_id;
104 bool m_idHasBeenSet = false;
105
106 Aws::String m_roleArn;
107 bool m_roleArnHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Proton
112} // namespace Aws
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(CodebuildRoleArnT &&value)
UpdateEnvironmentAccountConnectionRequest & WithComponentRoleArn(ComponentRoleArnT &&value)
UpdateEnvironmentAccountConnectionRequest & WithRoleArn(RoleArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String