AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TunnelSummary.h
1
6#pragma once
7#include <aws/iotsecuretunneling/IoTSecureTunneling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsecuretunneling/model/TunnelStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSecureTunneling
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTSECURETUNNELING_API TunnelSummary();
37 AWS_IOTSECURETUNNELING_API TunnelSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSECURETUNNELING_API TunnelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSECURETUNNELING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTunnelId() const{ return m_tunnelId; }
47 inline bool TunnelIdHasBeenSet() const { return m_tunnelIdHasBeenSet; }
48 inline void SetTunnelId(const Aws::String& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = value; }
49 inline void SetTunnelId(Aws::String&& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = std::move(value); }
50 inline void SetTunnelId(const char* value) { m_tunnelIdHasBeenSet = true; m_tunnelId.assign(value); }
51 inline TunnelSummary& WithTunnelId(const Aws::String& value) { SetTunnelId(value); return *this;}
52 inline TunnelSummary& WithTunnelId(Aws::String&& value) { SetTunnelId(std::move(value)); return *this;}
53 inline TunnelSummary& WithTunnelId(const char* value) { SetTunnelId(value); return *this;}
55
57
60 inline const Aws::String& GetTunnelArn() const{ return m_tunnelArn; }
61 inline bool TunnelArnHasBeenSet() const { return m_tunnelArnHasBeenSet; }
62 inline void SetTunnelArn(const Aws::String& value) { m_tunnelArnHasBeenSet = true; m_tunnelArn = value; }
63 inline void SetTunnelArn(Aws::String&& value) { m_tunnelArnHasBeenSet = true; m_tunnelArn = std::move(value); }
64 inline void SetTunnelArn(const char* value) { m_tunnelArnHasBeenSet = true; m_tunnelArn.assign(value); }
65 inline TunnelSummary& WithTunnelArn(const Aws::String& value) { SetTunnelArn(value); return *this;}
66 inline TunnelSummary& WithTunnelArn(Aws::String&& value) { SetTunnelArn(std::move(value)); return *this;}
67 inline TunnelSummary& WithTunnelArn(const char* value) { SetTunnelArn(value); return *this;}
69
71
74 inline const TunnelStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const TunnelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(TunnelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline TunnelSummary& WithStatus(const TunnelStatus& value) { SetStatus(value); return *this;}
79 inline TunnelSummary& WithStatus(TunnelStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline TunnelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline TunnelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline TunnelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
101 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
102 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
103 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
104 inline TunnelSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
105 inline TunnelSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
113 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
114 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
115 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
116 inline TunnelSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
117 inline TunnelSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_tunnelId;
122 bool m_tunnelIdHasBeenSet = false;
123
124 Aws::String m_tunnelArn;
125 bool m_tunnelArnHasBeenSet = false;
126
127 TunnelStatus m_status;
128 bool m_statusHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdAt;
134 bool m_createdAtHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedAt;
137 bool m_lastUpdatedAtHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace IoTSecureTunneling
142} // namespace Aws
TunnelSummary & WithTunnelArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
AWS_IOTSECURETUNNELING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSECURETUNNELING_API TunnelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TunnelSummary & WithTunnelId(Aws::String &&value)
TunnelSummary & WithTunnelArn(const Aws::String &value)
TunnelSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_IOTSECURETUNNELING_API TunnelSummary()
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_IOTSECURETUNNELING_API TunnelSummary(Aws::Utils::Json::JsonView jsonValue)
TunnelSummary & WithDescription(Aws::String &&value)
TunnelSummary & WithDescription(const Aws::String &value)
TunnelSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
TunnelSummary & WithTunnelArn(const char *value)
TunnelSummary & WithStatus(TunnelStatus &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTunnelId(const Aws::String &value)
TunnelSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
TunnelSummary & WithTunnelId(const Aws::String &value)
void SetTunnelArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
TunnelSummary & WithTunnelId(const char *value)
TunnelSummary & WithDescription(const char *value)
void SetStatus(const TunnelStatus &value)
TunnelSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
TunnelSummary & WithStatus(const TunnelStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue