AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
RegisteredRemoteAgentDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/RemoteAgentAuthorizationMethod.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API RegisteredRemoteAgentDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
55 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
56 template <typename EndpointT = Aws::String>
57 void SetEndpoint(EndpointT&& value) {
58 m_endpointHasBeenSet = true;
59 m_endpoint = std::forward<EndpointT>(value);
60 }
61 template <typename EndpointT = Aws::String>
63 SetEndpoint(std::forward<EndpointT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline RemoteAgentAuthorizationMethod GetAuthorizationMethod() const { return m_authorizationMethod; }
89 inline bool AuthorizationMethodHasBeenSet() const { return m_authorizationMethodHasBeenSet; }
91 m_authorizationMethodHasBeenSet = true;
92 m_authorizationMethod = value;
93 }
96 return *this;
97 }
99
101
104 inline const Aws::String& GetApiKeyHeader() const { return m_apiKeyHeader; }
105 inline bool ApiKeyHeaderHasBeenSet() const { return m_apiKeyHeaderHasBeenSet; }
106 template <typename ApiKeyHeaderT = Aws::String>
107 void SetApiKeyHeader(ApiKeyHeaderT&& value) {
108 m_apiKeyHeaderHasBeenSet = true;
109 m_apiKeyHeader = std::forward<ApiKeyHeaderT>(value);
110 }
111 template <typename ApiKeyHeaderT = Aws::String>
113 SetApiKeyHeader(std::forward<ApiKeyHeaderT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_name;
119
120 Aws::String m_endpoint;
121
122 Aws::String m_description;
123
125
126 Aws::String m_apiKeyHeader;
127 bool m_nameHasBeenSet = false;
128 bool m_endpointHasBeenSet = false;
129 bool m_descriptionHasBeenSet = false;
130 bool m_authorizationMethodHasBeenSet = false;
131 bool m_apiKeyHeaderHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace DevOpsAgent
136} // namespace Aws
RegisteredRemoteAgentDetails & WithName(NameT &&value)
AWS_DEVOPSAGENT_API RegisteredRemoteAgentDetails()=default
RegisteredRemoteAgentDetails & WithDescription(DescriptionT &&value)
RegisteredRemoteAgentDetails & WithAuthorizationMethod(RemoteAgentAuthorizationMethod value)
RegisteredRemoteAgentDetails & WithApiKeyHeader(ApiKeyHeaderT &&value)
RegisteredRemoteAgentDetails & WithEndpoint(EndpointT &&value)
AWS_DEVOPSAGENT_API RegisteredRemoteAgentDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthorizationMethod(RemoteAgentAuthorizationMethod value)
AWS_DEVOPSAGENT_API RegisteredRemoteAgentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue