AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TargetPreview.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSM_API TargetPreview() = default;
39
40
42
46 inline int GetCount() const { return m_count; }
47 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
48 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
49 inline TargetPreview& WithCount(int value) { SetCount(value); return *this;}
51
53
56 inline const Aws::String& GetTargetType() const { return m_targetType; }
57 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
58 template<typename TargetTypeT = Aws::String>
59 void SetTargetType(TargetTypeT&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::forward<TargetTypeT>(value); }
60 template<typename TargetTypeT = Aws::String>
61 TargetPreview& WithTargetType(TargetTypeT&& value) { SetTargetType(std::forward<TargetTypeT>(value)); return *this;}
63 private:
64
65 int m_count{0};
66 bool m_countHasBeenSet = false;
67
68 Aws::String m_targetType;
69 bool m_targetTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SSM
74} // namespace Aws
TargetPreview & WithCount(int value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetType(TargetTypeT &&value)
TargetPreview & WithTargetType(TargetTypeT &&value)
AWS_SSM_API TargetPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API TargetPreview(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API TargetPreview()=default
const Aws::String & GetTargetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue