AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
AzureDevOpsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
29 public:
30 AWS_DEVOPSAGENT_API AzureDevOpsConfiguration() = default;
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
40 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
41 template <typename OrganizationNameT = Aws::String>
42 void SetOrganizationName(OrganizationNameT&& value) {
43 m_organizationNameHasBeenSet = true;
44 m_organizationName = std::forward<OrganizationNameT>(value);
45 }
46 template <typename OrganizationNameT = Aws::String>
47 AzureDevOpsConfiguration& WithOrganizationName(OrganizationNameT&& value) {
48 SetOrganizationName(std::forward<OrganizationNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProjectId() const { return m_projectId; }
58 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
59 template <typename ProjectIdT = Aws::String>
60 void SetProjectId(ProjectIdT&& value) {
61 m_projectIdHasBeenSet = true;
62 m_projectId = std::forward<ProjectIdT>(value);
63 }
64 template <typename ProjectIdT = Aws::String>
66 SetProjectId(std::forward<ProjectIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetProjectName() const { return m_projectName; }
76 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
77 template <typename ProjectNameT = Aws::String>
78 void SetProjectName(ProjectNameT&& value) {
79 m_projectNameHasBeenSet = true;
80 m_projectName = std::forward<ProjectNameT>(value);
81 }
82 template <typename ProjectNameT = Aws::String>
84 SetProjectName(std::forward<ProjectNameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_organizationName;
90
91 Aws::String m_projectId;
92
93 Aws::String m_projectName;
94 bool m_organizationNameHasBeenSet = false;
95 bool m_projectIdHasBeenSet = false;
96 bool m_projectNameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DevOpsAgent
101} // namespace Aws
AzureDevOpsConfiguration & WithProjectId(ProjectIdT &&value)
AWS_DEVOPSAGENT_API AzureDevOpsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API AzureDevOpsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AzureDevOpsConfiguration & WithProjectName(ProjectNameT &&value)
AWS_DEVOPSAGENT_API AzureDevOpsConfiguration()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AzureDevOpsConfiguration & WithOrganizationName(OrganizationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue