AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OpsEntityItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API OpsEntityItem() = default;
40
41
43
46 inline const Aws::String& GetCaptureTime() const { return m_captureTime; }
47 inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; }
48 template<typename CaptureTimeT = Aws::String>
49 void SetCaptureTime(CaptureTimeT&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::forward<CaptureTimeT>(value); }
50 template<typename CaptureTimeT = Aws::String>
51 OpsEntityItem& WithCaptureTime(CaptureTimeT&& value) { SetCaptureTime(std::forward<CaptureTimeT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetContent() const { return m_content; }
59 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
60 template<typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
61 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
62 template<typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
63 OpsEntityItem& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
64 template<typename ContentT = Aws::Map<Aws::String, Aws::String>>
65 OpsEntityItem& AddContent(ContentT&& value) { m_contentHasBeenSet = true; m_content.emplace_back(std::forward<ContentT>(value)); return *this; }
67 private:
68
69 Aws::String m_captureTime;
70 bool m_captureTimeHasBeenSet = false;
71
73 bool m_contentHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SSM
78} // namespace Aws
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetContent() const
AWS_SSM_API OpsEntityItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCaptureTime(CaptureTimeT &&value)
void SetContent(ContentT &&value)
AWS_SSM_API OpsEntityItem()=default
OpsEntityItem & WithCaptureTime(CaptureTimeT &&value)
OpsEntityItem & WithContent(ContentT &&value)
const Aws::String & GetCaptureTime() const
AWS_SSM_API OpsEntityItem(Aws::Utils::Json::JsonView jsonValue)
OpsEntityItem & AddContent(ContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue