AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentListEntry.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/AgentStatus.h>
10#include <aws/datasync/model/Platform.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 DataSync
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_DATASYNC_API AgentListEntry();
40 AWS_DATASYNC_API AgentListEntry(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAgentArn() const{ return m_agentArn; }
50 inline bool AgentArnHasBeenSet() const { return m_agentArnHasBeenSet; }
51 inline void SetAgentArn(const Aws::String& value) { m_agentArnHasBeenSet = true; m_agentArn = value; }
52 inline void SetAgentArn(Aws::String&& value) { m_agentArnHasBeenSet = true; m_agentArn = std::move(value); }
53 inline void SetAgentArn(const char* value) { m_agentArnHasBeenSet = true; m_agentArn.assign(value); }
54 inline AgentListEntry& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;}
55 inline AgentListEntry& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;}
56 inline AgentListEntry& WithAgentArn(const char* value) { SetAgentArn(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline AgentListEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline AgentListEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline AgentListEntry& WithName(const char* value) { SetName(value); return *this;}
72
74
83 inline const AgentStatus& GetStatus() const{ return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(const AgentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
86 inline void SetStatus(AgentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 inline AgentListEntry& WithStatus(const AgentStatus& value) { SetStatus(value); return *this;}
88 inline AgentListEntry& WithStatus(AgentStatus&& value) { SetStatus(std::move(value)); return *this;}
90
92
95 inline const Platform& GetPlatform() const{ return m_platform; }
96 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
97 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
98 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
99 inline AgentListEntry& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
100 inline AgentListEntry& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_agentArn;
105 bool m_agentArnHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 AgentStatus m_status;
111 bool m_statusHasBeenSet = false;
112
113 Platform m_platform;
114 bool m_platformHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace DataSync
119} // namespace Aws
AgentListEntry & WithAgentArn(const char *value)
void SetPlatform(Platform &&value)
bool StatusHasBeenSet() const
void SetPlatform(const Platform &value)
AgentListEntry & WithName(Aws::String &&value)
const AgentStatus & GetStatus() const
AgentListEntry & WithPlatform(const Platform &value)
AgentListEntry & WithAgentArn(Aws::String &&value)
AgentListEntry & WithName(const Aws::String &value)
AgentListEntry & WithName(const char *value)
AgentListEntry & WithPlatform(Platform &&value)
bool PlatformHasBeenSet() const
void SetStatus(AgentStatus &&value)
void SetStatus(const AgentStatus &value)
AWS_DATASYNC_API AgentListEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API AgentListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentArn(Aws::String &&value)
void SetAgentArn(const Aws::String &value)
void SetName(Aws::String &&value)
AgentListEntry & WithStatus(const AgentStatus &value)
void SetAgentArn(const char *value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
AgentListEntry & WithAgentArn(const Aws::String &value)
const Platform & GetPlatform() const
const Aws::String & GetName() const
AgentListEntry & WithStatus(AgentStatus &&value)
bool AgentArnHasBeenSet() const
AWS_DATASYNC_API AgentListEntry()
const Aws::String & GetAgentArn() const
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue