AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
48 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
49 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
50 inline ECSService& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
51 inline ECSService& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
52 inline ECSService& WithServiceName(const char* value) { SetServiceName(value); return *this;}
54
56
59 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
60 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
61 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
62 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
63 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
64 inline ECSService& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
65 inline ECSService& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
66 inline ECSService& WithClusterName(const char* value) { SetClusterName(value); return *this;}
68 private:
69
70 Aws::String m_serviceName;
71 bool m_serviceNameHasBeenSet = false;
72
73 Aws::String m_clusterName;
74 bool m_clusterNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeDeploy
79} // namespace Aws
ECSService & WithClusterName(const char *value)
Definition ECSService.h:66
const Aws::String & GetClusterName() const
Definition ECSService.h:59
const Aws::String & GetServiceName() const
Definition ECSService.h:45
ECSService & WithServiceName(const char *value)
Definition ECSService.h:52
void SetClusterName(const char *value)
Definition ECSService.h:63
void SetClusterName(const Aws::String &value)
Definition ECSService.h:61
ECSService & WithClusterName(const Aws::String &value)
Definition ECSService.h:64
void SetClusterName(Aws::String &&value)
Definition ECSService.h:62
AWS_CODEDEPLOY_API ECSService & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API ECSService()
void SetServiceName(Aws::String &&value)
Definition ECSService.h:48
AWS_CODEDEPLOY_API ECSService(Aws::Utils::Json::JsonView jsonValue)
ECSService & WithServiceName(Aws::String &&value)
Definition ECSService.h:51
void SetServiceName(const Aws::String &value)
Definition ECSService.h:47
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
ECSService & WithClusterName(Aws::String &&value)
Definition ECSService.h:65
ECSService & WithServiceName(const Aws::String &value)
Definition ECSService.h:50
void SetServiceName(const char *value)
Definition ECSService.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue