AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionSummary.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/ProviderType.h>
10#include <aws/apprunner/model/ConnectionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppRunner
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPRUNNER_API ConnectionSummary();
39 AWS_APPRUNNER_API ConnectionSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
49 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
50 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
51 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
52 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
53 inline ConnectionSummary& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
54 inline ConnectionSummary& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
55 inline ConnectionSummary& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
57
59
62 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
63 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
64 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
65 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
66 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
67 inline ConnectionSummary& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
68 inline ConnectionSummary& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
69 inline ConnectionSummary& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
71
73
76 inline const ProviderType& GetProviderType() const{ return m_providerType; }
77 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
78 inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
79 inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
80 inline ConnectionSummary& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
81 inline ConnectionSummary& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
83
85
90 inline const ConnectionStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const ConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(ConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline ConnectionSummary& WithStatus(const ConnectionStatus& value) { SetStatus(value); return *this;}
95 inline ConnectionSummary& WithStatus(ConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
103 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
106 inline ConnectionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline ConnectionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_connectionName;
112 bool m_connectionNameHasBeenSet = false;
113
114 Aws::String m_connectionArn;
115 bool m_connectionArnHasBeenSet = false;
116
117 ProviderType m_providerType;
118 bool m_providerTypeHasBeenSet = false;
119
120 ConnectionStatus m_status;
121 bool m_statusHasBeenSet = false;
122
123 Aws::Utils::DateTime m_createdAt;
124 bool m_createdAtHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AppRunner
129} // namespace Aws
const ConnectionStatus & GetStatus() const
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionSummary & WithConnectionName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetConnectionArn(const Aws::String &value)
ConnectionSummary & WithConnectionArn(const Aws::String &value)
ConnectionSummary & WithStatus(ConnectionStatus &&value)
void SetStatus(const ConnectionStatus &value)
ConnectionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ConnectionSummary & WithProviderType(ProviderType &&value)
ConnectionSummary & WithConnectionName(const char *value)
const Aws::String & GetConnectionArn() const
void SetStatus(ConnectionStatus &&value)
void SetProviderType(const ProviderType &value)
ConnectionSummary & WithConnectionName(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_APPRUNNER_API ConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProviderType(ProviderType &&value)
AWS_APPRUNNER_API ConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionName() const
ConnectionSummary & WithConnectionArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ConnectionSummary & WithProviderType(const ProviderType &value)
ConnectionSummary & WithConnectionArn(const char *value)
ConnectionSummary & WithStatus(const ConnectionStatus &value)
void SetConnectionName(Aws::String &&value)
ConnectionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const ProviderType & GetProviderType() const
void SetConnectionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue