AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
RemoteAgentServiceDetails.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/RemoteAgentAuthorizationConfig.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 RemoteAgentServiceDetails() = 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 const RemoteAgentAuthorizationConfig& GetAuthorizationConfig() const { return m_authorizationConfig; }
89 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
90 template <typename AuthorizationConfigT = RemoteAgentAuthorizationConfig>
91 void SetAuthorizationConfig(AuthorizationConfigT&& value) {
92 m_authorizationConfigHasBeenSet = true;
93 m_authorizationConfig = std::forward<AuthorizationConfigT>(value);
94 }
95 template <typename AuthorizationConfigT = RemoteAgentAuthorizationConfig>
96 RemoteAgentServiceDetails& WithAuthorizationConfig(AuthorizationConfigT&& value) {
97 SetAuthorizationConfig(std::forward<AuthorizationConfigT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_name;
103
104 Aws::String m_endpoint;
105
106 Aws::String m_description;
107
108 RemoteAgentAuthorizationConfig m_authorizationConfig;
109 bool m_nameHasBeenSet = false;
110 bool m_endpointHasBeenSet = false;
111 bool m_descriptionHasBeenSet = false;
112 bool m_authorizationConfigHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace DevOpsAgent
117} // namespace Aws
AWS_DEVOPSAGENT_API RemoteAgentServiceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API RemoteAgentServiceDetails()=default
RemoteAgentServiceDetails & WithDescription(DescriptionT &&value)
AWS_DEVOPSAGENT_API RemoteAgentServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RemoteAgentAuthorizationConfig & GetAuthorizationConfig() const
RemoteAgentServiceDetails & WithEndpoint(EndpointT &&value)
RemoteAgentServiceDetails & WithName(NameT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RemoteAgentServiceDetails & WithAuthorizationConfig(AuthorizationConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue