AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AgentSpaceConfiguration.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/AgentSpaceRelationshipType.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
31 public:
32 AWS_DEVOPSAGENT_API AgentSpaceConfiguration() = default;
35 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetTargetAgentSpaceArn() const { return m_targetAgentSpaceArn; }
43 inline bool TargetAgentSpaceArnHasBeenSet() const { return m_targetAgentSpaceArnHasBeenSet; }
44 template <typename TargetAgentSpaceArnT = Aws::String>
45 void SetTargetAgentSpaceArn(TargetAgentSpaceArnT&& value) {
46 m_targetAgentSpaceArnHasBeenSet = true;
47 m_targetAgentSpaceArn = std::forward<TargetAgentSpaceArnT>(value);
48 }
49 template <typename TargetAgentSpaceArnT = Aws::String>
50 AgentSpaceConfiguration& WithTargetAgentSpaceArn(TargetAgentSpaceArnT&& value) {
51 SetTargetAgentSpaceArn(std::forward<TargetAgentSpaceArnT>(value));
52 return *this;
53 }
55
57
60 inline AgentSpaceRelationshipType GetRelationshipType() const { return m_relationshipType; }
61 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
63 m_relationshipTypeHasBeenSet = true;
64 m_relationshipType = value;
65 }
71
73
76 inline const Aws::String& GetTargetAgentSpaceName() const { return m_targetAgentSpaceName; }
77 inline bool TargetAgentSpaceNameHasBeenSet() const { return m_targetAgentSpaceNameHasBeenSet; }
78 template <typename TargetAgentSpaceNameT = Aws::String>
79 void SetTargetAgentSpaceName(TargetAgentSpaceNameT&& value) {
80 m_targetAgentSpaceNameHasBeenSet = true;
81 m_targetAgentSpaceName = std::forward<TargetAgentSpaceNameT>(value);
82 }
83 template <typename TargetAgentSpaceNameT = Aws::String>
84 AgentSpaceConfiguration& WithTargetAgentSpaceName(TargetAgentSpaceNameT&& value) {
85 SetTargetAgentSpaceName(std::forward<TargetAgentSpaceNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTargetAgentSpaceDescription() const { return m_targetAgentSpaceDescription; }
95 inline bool TargetAgentSpaceDescriptionHasBeenSet() const { return m_targetAgentSpaceDescriptionHasBeenSet; }
96 template <typename TargetAgentSpaceDescriptionT = Aws::String>
97 void SetTargetAgentSpaceDescription(TargetAgentSpaceDescriptionT&& value) {
98 m_targetAgentSpaceDescriptionHasBeenSet = true;
99 m_targetAgentSpaceDescription = std::forward<TargetAgentSpaceDescriptionT>(value);
100 }
101 template <typename TargetAgentSpaceDescriptionT = Aws::String>
102 AgentSpaceConfiguration& WithTargetAgentSpaceDescription(TargetAgentSpaceDescriptionT&& value) {
103 SetTargetAgentSpaceDescription(std::forward<TargetAgentSpaceDescriptionT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_targetAgentSpaceArn;
109
111
112 Aws::String m_targetAgentSpaceName;
113
114 Aws::String m_targetAgentSpaceDescription;
115 bool m_targetAgentSpaceArnHasBeenSet = false;
116 bool m_relationshipTypeHasBeenSet = false;
117 bool m_targetAgentSpaceNameHasBeenSet = false;
118 bool m_targetAgentSpaceDescriptionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace DevOpsAgent
123} // namespace Aws
AgentSpaceConfiguration & WithTargetAgentSpaceName(TargetAgentSpaceNameT &&value)
AWS_DEVOPSAGENT_API AgentSpaceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API AgentSpaceConfiguration()=default
AgentSpaceConfiguration & WithTargetAgentSpaceArn(TargetAgentSpaceArnT &&value)
AgentSpaceConfiguration & WithRelationshipType(AgentSpaceRelationshipType value)
void SetTargetAgentSpaceName(TargetAgentSpaceNameT &&value)
void SetRelationshipType(AgentSpaceRelationshipType value)
AWS_DEVOPSAGENT_API AgentSpaceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentSpaceRelationshipType GetRelationshipType() const
void SetTargetAgentSpaceArn(TargetAgentSpaceArnT &&value)
void SetTargetAgentSpaceDescription(TargetAgentSpaceDescriptionT &&value)
AgentSpaceConfiguration & WithTargetAgentSpaceDescription(TargetAgentSpaceDescriptionT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue