AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceConnectServiceResource.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
39 {
40 public:
45
46
48
58 inline const Aws::String& GetDiscoveryName() const{ return m_discoveryName; }
59 inline bool DiscoveryNameHasBeenSet() const { return m_discoveryNameHasBeenSet; }
60 inline void SetDiscoveryName(const Aws::String& value) { m_discoveryNameHasBeenSet = true; m_discoveryName = value; }
61 inline void SetDiscoveryName(Aws::String&& value) { m_discoveryNameHasBeenSet = true; m_discoveryName = std::move(value); }
62 inline void SetDiscoveryName(const char* value) { m_discoveryNameHasBeenSet = true; m_discoveryName.assign(value); }
63 inline ServiceConnectServiceResource& WithDiscoveryName(const Aws::String& value) { SetDiscoveryName(value); return *this;}
64 inline ServiceConnectServiceResource& WithDiscoveryName(Aws::String&& value) { SetDiscoveryName(std::move(value)); return *this;}
65 inline ServiceConnectServiceResource& WithDiscoveryName(const char* value) { SetDiscoveryName(value); return *this;}
67
69
75 inline const Aws::String& GetDiscoveryArn() const{ return m_discoveryArn; }
76 inline bool DiscoveryArnHasBeenSet() const { return m_discoveryArnHasBeenSet; }
77 inline void SetDiscoveryArn(const Aws::String& value) { m_discoveryArnHasBeenSet = true; m_discoveryArn = value; }
78 inline void SetDiscoveryArn(Aws::String&& value) { m_discoveryArnHasBeenSet = true; m_discoveryArn = std::move(value); }
79 inline void SetDiscoveryArn(const char* value) { m_discoveryArnHasBeenSet = true; m_discoveryArn.assign(value); }
80 inline ServiceConnectServiceResource& WithDiscoveryArn(const Aws::String& value) { SetDiscoveryArn(value); return *this;}
81 inline ServiceConnectServiceResource& WithDiscoveryArn(Aws::String&& value) { SetDiscoveryArn(std::move(value)); return *this;}
82 inline ServiceConnectServiceResource& WithDiscoveryArn(const char* value) { SetDiscoveryArn(value); return *this;}
84 private:
85
86 Aws::String m_discoveryName;
87 bool m_discoveryNameHasBeenSet = false;
88
89 Aws::String m_discoveryArn;
90 bool m_discoveryArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ECS
95} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceConnectServiceResource & WithDiscoveryArn(const char *value)
AWS_ECS_API ServiceConnectServiceResource(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectServiceResource & WithDiscoveryName(Aws::String &&value)
AWS_ECS_API ServiceConnectServiceResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectServiceResource & WithDiscoveryArn(Aws::String &&value)
ServiceConnectServiceResource & WithDiscoveryName(const Aws::String &value)
ServiceConnectServiceResource & WithDiscoveryName(const char *value)
ServiceConnectServiceResource & WithDiscoveryArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue