AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetCaptureTime() const{ return m_captureTime; }
47 inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; }
48 inline void SetCaptureTime(const Aws::String& value) { m_captureTimeHasBeenSet = true; m_captureTime = value; }
49 inline void SetCaptureTime(Aws::String&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::move(value); }
50 inline void SetCaptureTime(const char* value) { m_captureTimeHasBeenSet = true; m_captureTime.assign(value); }
51 inline OpsEntityItem& WithCaptureTime(const Aws::String& value) { SetCaptureTime(value); return *this;}
52 inline OpsEntityItem& WithCaptureTime(Aws::String&& value) { SetCaptureTime(std::move(value)); return *this;}
53 inline OpsEntityItem& WithCaptureTime(const char* value) { SetCaptureTime(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetContent() const{ return m_content; }
61 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
62 inline void SetContent(const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& value) { m_contentHasBeenSet = true; m_content = value; }
63 inline void SetContent(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
65 inline OpsEntityItem& WithContent(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { SetContent(std::move(value)); return *this;}
66 inline OpsEntityItem& AddContent(const Aws::Map<Aws::String, Aws::String>& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; }
67 inline OpsEntityItem& AddContent(Aws::Map<Aws::String, Aws::String>&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_captureTime;
72 bool m_captureTimeHasBeenSet = false;
73
75 bool m_contentHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
OpsEntityItem & WithCaptureTime(Aws::String &&value)
OpsEntityItem & AddContent(const Aws::Map< Aws::String, Aws::String > &value)
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 SetContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
OpsEntityItem & WithCaptureTime(const Aws::String &value)
void SetContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
OpsEntityItem & AddContent(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetCaptureTime() const
AWS_SSM_API OpsEntityItem(Aws::Utils::Json::JsonView jsonValue)
void SetCaptureTime(const Aws::String &value)
OpsEntityItem & WithContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetCaptureTime(Aws::String &&value)
void SetCaptureTime(const char *value)
OpsEntityItem & WithContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
OpsEntityItem & WithCaptureTime(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue