AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoveryJobListEntry.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/DiscoveryJobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataSync
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATASYNC_API DiscoveryJobListEntry();
39 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDiscoveryJobArn() const{ return m_discoveryJobArn; }
47 inline bool DiscoveryJobArnHasBeenSet() const { return m_discoveryJobArnHasBeenSet; }
48 inline void SetDiscoveryJobArn(const Aws::String& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = value; }
49 inline void SetDiscoveryJobArn(Aws::String&& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = std::move(value); }
50 inline void SetDiscoveryJobArn(const char* value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn.assign(value); }
51 inline DiscoveryJobListEntry& WithDiscoveryJobArn(const Aws::String& value) { SetDiscoveryJobArn(value); return *this;}
52 inline DiscoveryJobListEntry& WithDiscoveryJobArn(Aws::String&& value) { SetDiscoveryJobArn(std::move(value)); return *this;}
53 inline DiscoveryJobListEntry& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;}
55
57
62 inline const DiscoveryJobStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const DiscoveryJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(DiscoveryJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline DiscoveryJobListEntry& WithStatus(const DiscoveryJobStatus& value) { SetStatus(value); return *this;}
67 inline DiscoveryJobListEntry& WithStatus(DiscoveryJobStatus&& value) { SetStatus(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_discoveryJobArn;
72 bool m_discoveryJobArnHasBeenSet = false;
73
74 DiscoveryJobStatus m_status;
75 bool m_statusHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataSync
80} // namespace Aws
DiscoveryJobListEntry & WithStatus(const DiscoveryJobStatus &value)
bool StatusHasBeenSet() const
AWS_DATASYNC_API DiscoveryJobListEntry()
const DiscoveryJobStatus & GetStatus() const
DiscoveryJobListEntry & WithStatus(DiscoveryJobStatus &&value)
void SetDiscoveryJobArn(const Aws::String &value)
DiscoveryJobListEntry & WithDiscoveryJobArn(const Aws::String &value)
void SetStatus(const DiscoveryJobStatus &value)
void SetDiscoveryJobArn(const char *value)
AWS_DATASYNC_API DiscoveryJobListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(DiscoveryJobStatus &&value)
AWS_DATASYNC_API DiscoveryJobListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetDiscoveryJobArn(Aws::String &&value)
const Aws::String & GetDiscoveryJobArn() const
DiscoveryJobListEntry & WithDiscoveryJobArn(const char *value)
DiscoveryJobListEntry & WithDiscoveryJobArn(Aws::String &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool DiscoveryJobArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue