AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ECSService.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 CodeDeploy
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEDEPLOY_API ECSService() = default;
36 AWS_CODEDEPLOY_API ECSService(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEDEPLOY_API ECSService& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetServiceName() const { return m_serviceName; }
46 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
47 template<typename ServiceNameT = Aws::String>
48 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
49 template<typename ServiceNameT = Aws::String>
50 ECSService& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetClusterName() const { return m_clusterName; }
58 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
59 template<typename ClusterNameT = Aws::String>
60 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
61 template<typename ClusterNameT = Aws::String>
62 ECSService& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
64 private:
65
66 Aws::String m_serviceName;
67 bool m_serviceNameHasBeenSet = false;
68
69 Aws::String m_clusterName;
70 bool m_clusterNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeDeploy
75} // namespace Aws
const Aws::String & GetClusterName() const
Definition ECSService.h:57
void SetClusterName(ClusterNameT &&value)
Definition ECSService.h:60
const Aws::String & GetServiceName() const
Definition ECSService.h:45
ECSService & WithClusterName(ClusterNameT &&value)
Definition ECSService.h:62
AWS_CODEDEPLOY_API ECSService()=default
AWS_CODEDEPLOY_API ECSService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(ServiceNameT &&value)
Definition ECSService.h:48
ECSService & WithServiceName(ServiceNameT &&value)
Definition ECSService.h:50
AWS_CODEDEPLOY_API ECSService(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue