AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServiceServiceRegistriesDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetContainerName() const{ return m_containerName; }
52 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
53 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
54 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
55 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
57 inline AwsEcsServiceServiceRegistriesDetails& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
58 inline AwsEcsServiceServiceRegistriesDetails& WithContainerName(const char* value) { SetContainerName(value); return *this;}
60
62
70 inline int GetContainerPort() const{ return m_containerPort; }
71 inline bool ContainerPortHasBeenSet() const { return m_containerPortHasBeenSet; }
72 inline void SetContainerPort(int value) { m_containerPortHasBeenSet = true; m_containerPort = value; }
75
77
82 inline int GetPort() const{ return m_port; }
83 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
84 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
85 inline AwsEcsServiceServiceRegistriesDetails& WithPort(int value) { SetPort(value); return *this;}
87
89
92 inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
93 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
94 inline void SetRegistryArn(const Aws::String& value) { m_registryArnHasBeenSet = true; m_registryArn = value; }
95 inline void SetRegistryArn(Aws::String&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::move(value); }
96 inline void SetRegistryArn(const char* value) { m_registryArnHasBeenSet = true; m_registryArn.assign(value); }
98 inline AwsEcsServiceServiceRegistriesDetails& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
99 inline AwsEcsServiceServiceRegistriesDetails& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;}
101 private:
102
103 Aws::String m_containerName;
104 bool m_containerNameHasBeenSet = false;
105
106 int m_containerPort;
107 bool m_containerPortHasBeenSet = false;
108
109 int m_port;
110 bool m_portHasBeenSet = false;
111
112 Aws::String m_registryArn;
113 bool m_registryArnHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcsServiceServiceRegistriesDetails & WithContainerName(Aws::String &&value)
AwsEcsServiceServiceRegistriesDetails & WithRegistryArn(Aws::String &&value)
AwsEcsServiceServiceRegistriesDetails & WithContainerName(const char *value)
AwsEcsServiceServiceRegistriesDetails & WithRegistryArn(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServiceServiceRegistriesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServiceServiceRegistriesDetails & WithRegistryArn(const char *value)
AwsEcsServiceServiceRegistriesDetails & WithContainerName(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServiceServiceRegistriesDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue