AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItemInvalidParameterException.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SSM
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
44 inline const Aws::Vector<Aws::String>& GetParameterNames() const{ return m_parameterNames; }
45 inline bool ParameterNamesHasBeenSet() const { return m_parameterNamesHasBeenSet; }
46 inline void SetParameterNames(const Aws::Vector<Aws::String>& value) { m_parameterNamesHasBeenSet = true; m_parameterNames = value; }
47 inline void SetParameterNames(Aws::Vector<Aws::String>&& value) { m_parameterNamesHasBeenSet = true; m_parameterNames = std::move(value); }
50 inline OpsItemInvalidParameterException& AddParameterNames(const Aws::String& value) { m_parameterNamesHasBeenSet = true; m_parameterNames.push_back(value); return *this; }
51 inline OpsItemInvalidParameterException& AddParameterNames(Aws::String&& value) { m_parameterNamesHasBeenSet = true; m_parameterNames.push_back(std::move(value)); return *this; }
52 inline OpsItemInvalidParameterException& AddParameterNames(const char* value) { m_parameterNamesHasBeenSet = true; m_parameterNames.push_back(value); return *this; }
54
56
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 inline OpsItemInvalidParameterException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline OpsItemInvalidParameterException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline OpsItemInvalidParameterException& WithMessage(const char* value) { SetMessage(value); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_parameterNames;
69 bool m_parameterNamesHasBeenSet = false;
70
71 Aws::String m_message;
72 bool m_messageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SSM
77} // namespace Aws
OpsItemInvalidParameterException & WithMessage(Aws::String &&value)
AWS_SSM_API OpsItemInvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
OpsItemInvalidParameterException & WithMessage(const char *value)
OpsItemInvalidParameterException & WithParameterNames(const Aws::Vector< Aws::String > &value)
OpsItemInvalidParameterException & WithParameterNames(Aws::Vector< Aws::String > &&value)
OpsItemInvalidParameterException & WithMessage(const Aws::String &value)
void SetParameterNames(const Aws::Vector< Aws::String > &value)
OpsItemInvalidParameterException & AddParameterNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetParameterNames() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
OpsItemInvalidParameterException & AddParameterNames(const char *value)
OpsItemInvalidParameterException & AddParameterNames(Aws::String &&value)
AWS_SSM_API OpsItemInvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue