AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 IngestionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetApp() const { return m_app; }
58 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
59 template<typename AppT = Aws::String>
60 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
61 template<typename AppT = Aws::String>
62 IngestionSummary& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTenantId() const { return m_tenantId; }
70 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
71 template<typename TenantIdT = Aws::String>
72 void SetTenantId(TenantIdT&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::forward<TenantIdT>(value); }
73 template<typename TenantIdT = Aws::String>
74 IngestionSummary& WithTenantId(TenantIdT&& value) { SetTenantId(std::forward<TenantIdT>(value)); return *this;}
76
78
81 inline IngestionState GetState() const { return m_state; }
82 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
83 inline void SetState(IngestionState value) { m_stateHasBeenSet = true; m_state = value; }
84 inline IngestionSummary& WithState(IngestionState value) { SetState(value); return *this;}
86 private:
87
88 Aws::String m_arn;
89 bool m_arnHasBeenSet = false;
90
91 Aws::String m_app;
92 bool m_appHasBeenSet = false;
93
94 Aws::String m_tenantId;
95 bool m_tenantIdHasBeenSet = false;
96
98 bool m_stateHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace AppFabric
103} // namespace Aws
const Aws::String & GetTenantId() const
AWS_APPFABRIC_API IngestionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API IngestionSummary()=default
AWS_APPFABRIC_API IngestionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionSummary & WithState(IngestionState value)
IngestionSummary & WithTenantId(TenantIdT &&value)
IngestionSummary & WithArn(ArnT &&value)
IngestionSummary & WithApp(AppT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue