AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestionSummary.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appfabric/model/IngestionState.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 AppFabric
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPFABRIC_API IngestionSummary();
36 AWS_APPFABRIC_API IngestionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline IngestionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline IngestionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline IngestionSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetApp() const{ return m_app; }
60 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
61 inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; }
62 inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); }
63 inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); }
64 inline IngestionSummary& WithApp(const Aws::String& value) { SetApp(value); return *this;}
65 inline IngestionSummary& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;}
66 inline IngestionSummary& WithApp(const char* value) { SetApp(value); return *this;}
68
70
73 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
74 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
75 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
76 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
77 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
78 inline IngestionSummary& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
79 inline IngestionSummary& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
80 inline IngestionSummary& WithTenantId(const char* value) { SetTenantId(value); return *this;}
82
84
87 inline const IngestionState& GetState() const{ return m_state; }
88 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
89 inline void SetState(const IngestionState& value) { m_stateHasBeenSet = true; m_state = value; }
90 inline void SetState(IngestionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
91 inline IngestionSummary& WithState(const IngestionState& value) { SetState(value); return *this;}
92 inline IngestionSummary& WithState(IngestionState&& value) { SetState(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_arn;
97 bool m_arnHasBeenSet = false;
98
99 Aws::String m_app;
100 bool m_appHasBeenSet = false;
101
102 Aws::String m_tenantId;
103 bool m_tenantIdHasBeenSet = false;
104
105 IngestionState m_state;
106 bool m_stateHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AppFabric
111} // namespace Aws
void SetArn(const Aws::String &value)
const Aws::String & GetTenantId() const
IngestionSummary & WithArn(Aws::String &&value)
IngestionSummary & WithApp(const Aws::String &value)
IngestionSummary & WithApp(Aws::String &&value)
IngestionSummary & WithState(IngestionState &&value)
AWS_APPFABRIC_API IngestionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTenantId(const Aws::String &value)
void SetState(const IngestionState &value)
AWS_APPFABRIC_API IngestionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionSummary & WithTenantId(const char *value)
const IngestionState & GetState() const
IngestionSummary & WithTenantId(const Aws::String &value)
IngestionSummary & WithArn(const Aws::String &value)
IngestionSummary & WithTenantId(Aws::String &&value)
IngestionSummary & WithArn(const char *value)
IngestionSummary & WithState(const IngestionState &value)
void SetState(IngestionState &&value)
void SetApp(const Aws::String &value)
IngestionSummary & WithApp(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue