AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
GcpProject.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
29 public:
30 AWS_SSM_API GcpProject() = default;
31 AWS_SSM_API GcpProject(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::String& GetProjectId() const { return m_projectId; }
40 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
41 template <typename ProjectIdT = Aws::String>
42 void SetProjectId(ProjectIdT&& value) {
43 m_projectIdHasBeenSet = true;
44 m_projectId = std::forward<ProjectIdT>(value);
45 }
46 template <typename ProjectIdT = Aws::String>
47 GcpProject& WithProjectId(ProjectIdT&& value) {
48 SetProjectId(std::forward<ProjectIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProjectDisplayName() const { return m_projectDisplayName; }
58 inline bool ProjectDisplayNameHasBeenSet() const { return m_projectDisplayNameHasBeenSet; }
59 template <typename ProjectDisplayNameT = Aws::String>
60 void SetProjectDisplayName(ProjectDisplayNameT&& value) {
61 m_projectDisplayNameHasBeenSet = true;
62 m_projectDisplayName = std::forward<ProjectDisplayNameT>(value);
63 }
64 template <typename ProjectDisplayNameT = Aws::String>
65 GcpProject& WithProjectDisplayName(ProjectDisplayNameT&& value) {
66 SetProjectDisplayName(std::forward<ProjectDisplayNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_projectId;
72
73 Aws::String m_projectDisplayName;
74 bool m_projectIdHasBeenSet = false;
75 bool m_projectDisplayNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
AWS_SSM_API GcpProject()=default
AWS_SSM_API GcpProject(Aws::Utils::Json::JsonView jsonValue)
void SetProjectDisplayName(ProjectDisplayNameT &&value)
Definition GcpProject.h:60
GcpProject & WithProjectDisplayName(ProjectDisplayNameT &&value)
Definition GcpProject.h:65
GcpProject & WithProjectId(ProjectIdT &&value)
Definition GcpProject.h:47
bool ProjectIdHasBeenSet() const
Definition GcpProject.h:40
AWS_SSM_API GcpProject & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProjectId() const
Definition GcpProject.h:39
void SetProjectId(ProjectIdT &&value)
Definition GcpProject.h:42
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProjectDisplayNameHasBeenSet() const
Definition GcpProject.h:58
const Aws::String & GetProjectDisplayName() const
Definition GcpProject.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue