AWS SDK for C++

AWS SDK for C++ Version 1.11.855

Loading...
Searching...
No Matches
ValidationFindingScope.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9#include <aws/ssm/model/ValidationFindingScopeType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
30 public:
31 AWS_SSM_API ValidationFindingScope() = default;
35
37
40 inline ValidationFindingScopeType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_id;
73 bool m_typeHasBeenSet = false;
74 bool m_idHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SSM
79} // namespace Aws
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationFindingScopeType GetType() const
void SetType(ValidationFindingScopeType value)
AWS_SSM_API ValidationFindingScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API ValidationFindingScope(Aws::Utils::Json::JsonView jsonValue)
ValidationFindingScope & WithType(ValidationFindingScopeType value)
ValidationFindingScope & WithId(IdT &&value)
AWS_SSM_API ValidationFindingScope()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue