AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CountsSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/model/ResourceCountsSummary.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Proton
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PROTON_API CountsSummary();
35 AWS_PROTON_API CountsSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
49 inline const ResourceCountsSummary& GetComponents() const{ return m_components; }
50 inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; }
51 inline void SetComponents(const ResourceCountsSummary& value) { m_componentsHasBeenSet = true; m_components = value; }
52 inline void SetComponents(ResourceCountsSummary&& value) { m_componentsHasBeenSet = true; m_components = std::move(value); }
53 inline CountsSummary& WithComponents(const ResourceCountsSummary& value) { SetComponents(value); return *this;}
54 inline CountsSummary& WithComponents(ResourceCountsSummary&& value) { SetComponents(std::move(value)); return *this;}
56
58
63 inline const ResourceCountsSummary& GetEnvironmentTemplates() const{ return m_environmentTemplates; }
64 inline bool EnvironmentTemplatesHasBeenSet() const { return m_environmentTemplatesHasBeenSet; }
65 inline void SetEnvironmentTemplates(const ResourceCountsSummary& value) { m_environmentTemplatesHasBeenSet = true; m_environmentTemplates = value; }
66 inline void SetEnvironmentTemplates(ResourceCountsSummary&& value) { m_environmentTemplatesHasBeenSet = true; m_environmentTemplates = std::move(value); }
68 inline CountsSummary& WithEnvironmentTemplates(ResourceCountsSummary&& value) { SetEnvironmentTemplates(std::move(value)); return *this;}
70
72
77 inline const ResourceCountsSummary& GetEnvironments() const{ return m_environments; }
78 inline bool EnvironmentsHasBeenSet() const { return m_environmentsHasBeenSet; }
79 inline void SetEnvironments(const ResourceCountsSummary& value) { m_environmentsHasBeenSet = true; m_environments = value; }
80 inline void SetEnvironments(ResourceCountsSummary&& value) { m_environmentsHasBeenSet = true; m_environments = std::move(value); }
81 inline CountsSummary& WithEnvironments(const ResourceCountsSummary& value) { SetEnvironments(value); return *this;}
82 inline CountsSummary& WithEnvironments(ResourceCountsSummary&& value) { SetEnvironments(std::move(value)); return *this;}
84
86
90 inline const ResourceCountsSummary& GetPipelines() const{ return m_pipelines; }
91 inline bool PipelinesHasBeenSet() const { return m_pipelinesHasBeenSet; }
92 inline void SetPipelines(const ResourceCountsSummary& value) { m_pipelinesHasBeenSet = true; m_pipelines = value; }
93 inline void SetPipelines(ResourceCountsSummary&& value) { m_pipelinesHasBeenSet = true; m_pipelines = std::move(value); }
94 inline CountsSummary& WithPipelines(const ResourceCountsSummary& value) { SetPipelines(value); return *this;}
95 inline CountsSummary& WithPipelines(ResourceCountsSummary&& value) { SetPipelines(std::move(value)); return *this;}
97
99
103 inline const ResourceCountsSummary& GetServiceInstances() const{ return m_serviceInstances; }
104 inline bool ServiceInstancesHasBeenSet() const { return m_serviceInstancesHasBeenSet; }
105 inline void SetServiceInstances(const ResourceCountsSummary& value) { m_serviceInstancesHasBeenSet = true; m_serviceInstances = value; }
106 inline void SetServiceInstances(ResourceCountsSummary&& value) { m_serviceInstancesHasBeenSet = true; m_serviceInstances = std::move(value); }
108 inline CountsSummary& WithServiceInstances(ResourceCountsSummary&& value) { SetServiceInstances(std::move(value)); return *this;}
110
112
117 inline const ResourceCountsSummary& GetServiceTemplates() const{ return m_serviceTemplates; }
118 inline bool ServiceTemplatesHasBeenSet() const { return m_serviceTemplatesHasBeenSet; }
119 inline void SetServiceTemplates(const ResourceCountsSummary& value) { m_serviceTemplatesHasBeenSet = true; m_serviceTemplates = value; }
120 inline void SetServiceTemplates(ResourceCountsSummary&& value) { m_serviceTemplatesHasBeenSet = true; m_serviceTemplates = std::move(value); }
122 inline CountsSummary& WithServiceTemplates(ResourceCountsSummary&& value) { SetServiceTemplates(std::move(value)); return *this;}
124
126
130 inline const ResourceCountsSummary& GetServices() const{ return m_services; }
131 inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; }
132 inline void SetServices(const ResourceCountsSummary& value) { m_servicesHasBeenSet = true; m_services = value; }
133 inline void SetServices(ResourceCountsSummary&& value) { m_servicesHasBeenSet = true; m_services = std::move(value); }
134 inline CountsSummary& WithServices(const ResourceCountsSummary& value) { SetServices(value); return *this;}
135 inline CountsSummary& WithServices(ResourceCountsSummary&& value) { SetServices(std::move(value)); return *this;}
137 private:
138
139 ResourceCountsSummary m_components;
140 bool m_componentsHasBeenSet = false;
141
142 ResourceCountsSummary m_environmentTemplates;
143 bool m_environmentTemplatesHasBeenSet = false;
144
145 ResourceCountsSummary m_environments;
146 bool m_environmentsHasBeenSet = false;
147
148 ResourceCountsSummary m_pipelines;
149 bool m_pipelinesHasBeenSet = false;
150
151 ResourceCountsSummary m_serviceInstances;
152 bool m_serviceInstancesHasBeenSet = false;
153
154 ResourceCountsSummary m_serviceTemplates;
155 bool m_serviceTemplatesHasBeenSet = false;
156
157 ResourceCountsSummary m_services;
158 bool m_servicesHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Proton
163} // namespace Aws
CountsSummary & WithServiceInstances(const ResourceCountsSummary &value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API CountsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CountsSummary & WithServiceInstances(ResourceCountsSummary &&value)
void SetServiceInstances(ResourceCountsSummary &&value)
const ResourceCountsSummary & GetPipelines() const
CountsSummary & WithPipelines(const ResourceCountsSummary &value)
CountsSummary & WithServices(ResourceCountsSummary &&value)
CountsSummary & WithServiceTemplates(const ResourceCountsSummary &value)
void SetServiceTemplates(const ResourceCountsSummary &value)
const ResourceCountsSummary & GetEnvironments() const
CountsSummary & WithEnvironments(const ResourceCountsSummary &value)
CountsSummary & WithEnvironments(ResourceCountsSummary &&value)
CountsSummary & WithComponents(ResourceCountsSummary &&value)
void SetEnvironmentTemplates(const ResourceCountsSummary &value)
CountsSummary & WithServices(const ResourceCountsSummary &value)
void SetEnvironments(const ResourceCountsSummary &value)
CountsSummary & WithEnvironmentTemplates(const ResourceCountsSummary &value)
void SetServices(const ResourceCountsSummary &value)
void SetComponents(ResourceCountsSummary &&value)
void SetComponents(const ResourceCountsSummary &value)
const ResourceCountsSummary & GetServiceTemplates() const
void SetEnvironmentTemplates(ResourceCountsSummary &&value)
const ResourceCountsSummary & GetServices() const
void SetPipelines(ResourceCountsSummary &&value)
CountsSummary & WithServiceTemplates(ResourceCountsSummary &&value)
void SetEnvironments(ResourceCountsSummary &&value)
void SetPipelines(const ResourceCountsSummary &value)
const ResourceCountsSummary & GetServiceInstances() const
const ResourceCountsSummary & GetComponents() const
const ResourceCountsSummary & GetEnvironmentTemplates() const
CountsSummary & WithComponents(const ResourceCountsSummary &value)
void SetServices(ResourceCountsSummary &&value)
CountsSummary & WithEnvironmentTemplates(ResourceCountsSummary &&value)
void SetServiceInstances(const ResourceCountsSummary &value)
AWS_PROTON_API CountsSummary(Aws::Utils::Json::JsonView jsonValue)
void SetServiceTemplates(ResourceCountsSummary &&value)
CountsSummary & WithPipelines(ResourceCountsSummary &&value)
Aws::Utils::Json::JsonValue JsonValue