AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictException.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_ECS_API ConflictException();
46
47
49
53 inline const Aws::Vector<Aws::String>& GetResourceIds() const{ return m_resourceIds; }
54 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
55 inline void SetResourceIds(const Aws::Vector<Aws::String>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
56 inline void SetResourceIds(Aws::Vector<Aws::String>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
57 inline ConflictException& WithResourceIds(const Aws::Vector<Aws::String>& value) { SetResourceIds(value); return *this;}
58 inline ConflictException& WithResourceIds(Aws::Vector<Aws::String>&& value) { SetResourceIds(std::move(value)); return *this;}
59 inline ConflictException& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
60 inline ConflictException& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
61 inline ConflictException& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
63 private:
64
65 Aws::Vector<Aws::String> m_resourceIds;
66 bool m_resourceIdsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace ECS
71} // namespace Aws
ConflictException & AddResourceIds(const Aws::String &value)
void SetResourceIds(Aws::Vector< Aws::String > &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetResourceIds() const
void SetResourceIds(const Aws::Vector< Aws::String > &value)
ConflictException & AddResourceIds(Aws::String &&value)
ConflictException & AddResourceIds(const char *value)
ConflictException & WithResourceIds(const Aws::Vector< Aws::String > &value)
AWS_ECS_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
ConflictException & WithResourceIds(Aws::Vector< Aws::String > &&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